API reference - Class QPainterPathNotation used in Ruby API documentation Description: Binding of QPainterPath Sub-classes: Element
Public constructors
Public methods
Deprecated methods (protected, public, static, non-static and constructors)
Detailed description[const] bool !=(const QPainterPath other)Description: Method bool QPainterPath::operator!=(const QPainterPath &other) [const] QPainterPath &(const QPainterPath other)Description: Method QPainterPath QPainterPath::operator&(const QPainterPath &other) QPainterPath &=(const QPainterPath other)Description: Method QPainterPath &QPainterPath::operator&=(const QPainterPath &other) [const] QPainterPath *(const QMatrix m)Description: Operator QPainterPath ::operator *(const QPainterPath &p, const QMatrix &m) This is the mapping of the global operator to the instance method. [const] QPainterPath *(const QTransform m)Description: Operator QPainterPath ::operator *(const QPainterPath &p, const QTransform &m) This is the mapping of the global operator to the instance method. [const] QPainterPath +(const QPainterPath other)Description: Method QPainterPath QPainterPath::operator+(const QPainterPath &other) QPainterPath +=(const QPainterPath other)Description: Method QPainterPath &QPainterPath::operator+=(const QPainterPath &other) [const] QPainterPath -(const QPainterPath other)Description: Method QPainterPath QPainterPath::operator-(const QPainterPath &other) QPainterPath -=(const QPainterPath other)Description: Method QPainterPath &QPainterPath::operator-=(const QPainterPath &other) [const] bool ==(const QPainterPath other)Description: Method bool QPainterPath::operator==(const QPainterPath &other) void _assign(const QPainterPath other)Description: Assigns another object to self void _createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void _destroyDescription: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. [const] bool _destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] bool _is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. void _manageDescription: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. void _unmanageDescription: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. void addEllipse(const QRectF rect)Description: Method void QPainterPath::addEllipse(const QRectF &rect) void addEllipse(double x,double y,double w,double h)Description: Method void QPainterPath::addEllipse(double x, double y, double w, double h) void addEllipse(const QPointF center,double rx,double ry)Description: Method void QPainterPath::addEllipse(const QPointF ¢er, double rx, double ry) void addPath(const QPainterPath path)Description: Method void QPainterPath::addPath(const QPainterPath &path) void addPolygon(const QPolygonF polygon)Description: Method void QPainterPath::addPolygon(const QPolygonF &polygon) void addRect(const QRectF rect)Description: Method void QPainterPath::addRect(const QRectF &rect) void addRect(double x,double y,double w,double h)Description: Method void QPainterPath::addRect(double x, double y, double w, double h) void addRegion(const QRegion region)Description: Method void QPainterPath::addRegion(const QRegion ®ion) void addRoundRect(const QRectF rect,int xRnd,int yRnd)Description: Method void QPainterPath::addRoundRect(const QRectF &rect, int xRnd, int yRnd) void addRoundRect(double x,double y,double w,double h,int xRnd,int yRnd)Description: Method void QPainterPath::addRoundRect(double x, double y, double w, double h, int xRnd, int yRnd) void addRoundRect(const QRectF rect,int roundness)Description: Method void QPainterPath::addRoundRect(const QRectF &rect, int roundness) void addRoundRect(double x,double y,double w,double h,int roundness)Description: Method void QPainterPath::addRoundRect(double x, double y, double w, double h, int roundness) void addRoundedRect(const QRectF rect,double xRadius,double yRadius,const Qt_SizeMode mode = Qt::AbsoluteSize)Description: Method void QPainterPath::addRoundedRect(const QRectF &rect, double xRadius, double yRadius, Qt::SizeMode mode) void addRoundedRect(double x,double y,double w,double h,double xRadius,double yRadius,const Qt_SizeMode mode = Qt::AbsoluteSize)Description: Method void QPainterPath::addRoundedRect(double x, double y, double w, double h, double xRadius, double yRadius, Qt::SizeMode mode) void addText(const QPointF point,const QFont f,string text)Description: Method void QPainterPath::addText(const QPointF &point, const QFont &f, const QString &text) void addText(double x,double y,const QFont f,string text)Description: Method void QPainterPath::addText(double x, double y, const QFont &f, const QString &text) [const] double angleAtPercent(double t)Description: Method double QPainterPath::angleAtPercent(double t) void arcMoveTo(const QRectF rect,double angle)Description: Method void QPainterPath::arcMoveTo(const QRectF &rect, double angle) void arcMoveTo(double x,double y,double w,double h,double angle)Description: Method void QPainterPath::arcMoveTo(double x, double y, double w, double h, double angle) void arcTo(const QRectF rect,double startAngle,double arcLength)Description: Method void QPainterPath::arcTo(const QRectF &rect, double startAngle, double arcLength) void arcTo(double x,double y,double w,double h,double startAngle,double arcLength)Description: Method void QPainterPath::arcTo(double x, double y, double w, double h, double startAngle, double arcLength) QPainterPath assign(const QPainterPath other)Description: Method QPainterPath &QPainterPath::operator=(const QPainterPath &other) [const] QRectF boundingRectDescription: Method QRectF QPainterPath::boundingRect() void closeSubpathDescription: Method void QPainterPath::closeSubpath() void connectPath(const QPainterPath path)Description: Method void QPainterPath::connectPath(const QPainterPath &path) [const] bool contains(const QPointF pt)Description: Method bool QPainterPath::contains(const QPointF &pt) [const] bool contains(const QRectF rect)Description: Method bool QPainterPath::contains(const QRectF &rect) [const] bool contains(const QPainterPath p)Description: Method bool QPainterPath::contains(const QPainterPath &p) [const] QRectF controlPointRectDescription: Method QRectF QPainterPath::controlPointRect() void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead void cubicTo(const QPointF ctrlPt1,const QPointF ctrlPt2,const QPointF endPt)Description: Method void QPainterPath::cubicTo(const QPointF &ctrlPt1, const QPointF &ctrlPt2, const QPointF &endPt) void cubicTo(double ctrlPt1x,double ctrlPt1y,double ctrlPt2x,double ctrlPt2y,double endPtx,double endPty)Description: Method void QPainterPath::cubicTo(double ctrlPt1x, double ctrlPt1y, double ctrlPt2x, double ctrlPt2y, double endPtx, double endPty) [const] QPointF currentPositionDescription: Method QPointF QPainterPath::currentPosition() void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead [const] new QPainterPath ptr dupDescription: Creates a copy of self [const] QPainterPath_Element elementAt(int i)Description: Method const QPainterPath::Element &QPainterPath::elementAt(int i) [const] int elementCountDescription: Method int QPainterPath::elementCount() [const] Qt_FillRule fillRuleDescription: Method Qt::FillRule QPainterPath::fillRule() Python specific notes:The object exposes a readable attribute 'fillRule'. This is the getter. void fillRule=(const Qt_FillRule fillRule)Description: Method void QPainterPath::setFillRule(Qt::FillRule fillRule) Python specific notes:The object exposes a writable attribute 'fillRule'. This is the setter. [const] QPainterPath intersected(const QPainterPath r)Description: Method QPainterPath QPainterPath::intersected(const QPainterPath &r) [const] bool intersects(const QRectF rect)Description: Method bool QPainterPath::intersects(const QRectF &rect) [const] bool intersects(const QPainterPath p)Description: Method bool QPainterPath::intersects(const QPainterPath &p) [const] bool isEmpty?Description: Method bool QPainterPath::isEmpty() [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead [const] double lengthDescription: Method double QPainterPath::length() void lineTo(const QPointF p)Description: Method void QPainterPath::lineTo(const QPointF &p) void lineTo(double x,double y)Description: Method void QPainterPath::lineTo(double x, double y) void moveTo(const QPointF p)Description: Method void QPainterPath::moveTo(const QPointF &p) void moveTo(double x,double y)Description: Method void QPainterPath::moveTo(double x, double y) [static] new QPainterPath newDescription: Constructor QPainterPath::QPainterPath() This method creates an object of class QPainterPath. Python specific notes:This method is the default initializer of the object [static] new QPainterPath new(const QPointF startPoint)Description: Constructor QPainterPath::QPainterPath(const QPointF &startPoint) This method creates an object of class QPainterPath. Python specific notes:This method is the default initializer of the object [static] new QPainterPath new(const QPainterPath other)Description: Constructor QPainterPath::QPainterPath(const QPainterPath &other) This method creates an object of class QPainterPath. Python specific notes:This method is the default initializer of the object [const] double percentAtLength(double t)Description: Method double QPainterPath::percentAtLength(double t) [const] QPointF pointAtPercent(double t)Description: Method QPointF QPainterPath::pointAtPercent(double t) void quadTo(const QPointF ctrlPt,const QPointF endPt)Description: Method void QPainterPath::quadTo(const QPointF &ctrlPt, const QPointF &endPt) void quadTo(double ctrlPtx,double ctrlPty,double endPtx,double endPty)Description: Method void QPainterPath::quadTo(double ctrlPtx, double ctrlPty, double endPtx, double endPty) void setElementPositionAt(int i,double x,double y)Description: Method void QPainterPath::setElementPositionAt(int i, double x, double y) void setFillRule(const Qt_FillRule fillRule)Description: Method void QPainterPath::setFillRule(Qt::FillRule fillRule) Python specific notes:The object exposes a writable attribute 'fillRule'. This is the setter. [const] QPainterPath simplifiedDescription: Method QPainterPath QPainterPath::simplified() [const] double slopeAtPercent(double t)Description: Method double QPainterPath::slopeAtPercent(double t) [const] QPainterPath subtracted(const QPainterPath r)Description: Method QPainterPath QPainterPath::subtracted(const QPainterPath &r) [const] QPainterPath subtractedInverted(const QPainterPath r)Description: Method QPainterPath QPainterPath::subtractedInverted(const QPainterPath &r) [const] QPolygonF toFillPolygon(const QMatrix matrix = QMatrix())Description: Method QPolygonF QPainterPath::toFillPolygon(const QMatrix &matrix) [const] QPolygonF toFillPolygon(const QTransform matrix)Description: Method QPolygonF QPainterPath::toFillPolygon(const QTransform &matrix) [const] QPolygonF[] toFillPolygons(const QMatrix matrix = QMatrix())Description: Method QList<QPolygonF> QPainterPath::toFillPolygons(const QMatrix &matrix) [const] QPolygonF[] toFillPolygons(const QTransform matrix)Description: Method QList<QPolygonF> QPainterPath::toFillPolygons(const QTransform &matrix) [const] QPainterPath toReversedDescription: Method QPainterPath QPainterPath::toReversed() [const] QPolygonF[] toSubpathPolygons(const QMatrix matrix = QMatrix())Description: Method QList<QPolygonF> QPainterPath::toSubpathPolygons(const QMatrix &matrix) [const] QPolygonF[] toSubpathPolygons(const QTransform matrix)Description: Method QList<QPolygonF> QPainterPath::toSubpathPolygons(const QTransform &matrix) void translate(double dx,double dy)Description: Method void QPainterPath::translate(double dx, double dy) void translate(const QPointF offset)Description: Method void QPainterPath::translate(const QPointF &offset) [const] QPainterPath translated(double dx,double dy)Description: Method QPainterPath QPainterPath::translated(double dx, double dy) [const] QPainterPath translated(const QPointF offset)Description: Method QPainterPath QPainterPath::translated(const QPointF &offset) [const] QPainterPath united(const QPainterPath r)Description: Method QPainterPath QPainterPath::united(const QPainterPath &r) [const] QPainterPath |(const QPainterPath other)Description: Method QPainterPath QPainterPath::operator|(const QPainterPath &other) QPainterPath |=(const QPainterPath other)Description: Method QPainterPath &QPainterPath::operator|=(const QPainterPath &other) |