API reference - Class QPainterPathNotation used in Ruby API documentation Description: Binding of QPainterPath Public constructors
Public methods
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 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] void assign(const QPainterPath other)Description: Assign the contents of another object to self This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content. [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 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 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 destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, 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] QPainterPath 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() void fillRule=(const Qt_FillRule fillRule)Description: Method void QPainterPath::setFillRule(Qt::FillRule fillRule) [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 isEmptyDescription: Method bool QPainterPath::isEmpty() [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 This method returns true, if self is a const reference. In that case, only const methods may be called on self. [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. [static] new QPainterPath new(const QPointF startPoint)Description: Constructor QPainterPath::QPainterPath(const QPointF &startPoint) This method creates an object of class QPainterPath. [static] new QPainterPath new(const QPainterPath other)Description: Constructor QPainterPath::QPainterPath(const QPainterPath &other) This method creates an object of class QPainterPath. [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) [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) |