API reference - Class QPainterPath

Notation used in Ruby API documentation

Module: QtGui

Description: Binding of QPainterPath

Sub-classes: Element

Public constructors

new QPainterPathnewConstructor QPainterPath::QPainterPath()
new QPainterPathnew(const QPointF startPoint)Constructor QPainterPath::QPainterPath(const QPointF &startPoint)
new QPainterPathnew(const QPainterPath other)Constructor QPainterPath::QPainterPath(const QPainterPath &other)

Public methods

[const]bool!=(const QPainterPath other)Method bool QPainterPath::operator!=(const QPainterPath &other)
[const]QPainterPath&(const QPainterPath other)Method QPainterPath QPainterPath::operator&(const QPainterPath &other)
QPainterPath&=(const QPainterPath other)Method QPainterPath &QPainterPath::operator&=(const QPainterPath &other)
[const]QPainterPath*(const QMatrix m)Operator QPainterPath ::operator *(const QPainterPath &p, const QMatrix &m)
[const]QPainterPath*(const QTransform m)Operator QPainterPath ::operator *(const QPainterPath &p, const QTransform &m)
[const]QPainterPath+(const QPainterPath other)Method QPainterPath QPainterPath::operator+(const QPainterPath &other)
QPainterPath+=(const QPainterPath other)Method QPainterPath &QPainterPath::operator+=(const QPainterPath &other)
[const]QPainterPath-(const QPainterPath other)Method QPainterPath QPainterPath::operator-(const QPainterPath &other)
QPainterPath-=(const QPainterPath other)Method QPainterPath &QPainterPath::operator-=(const QPainterPath &other)
[const]bool==(const QPainterPath other)Method bool QPainterPath::operator==(const QPainterPath &other)
void_assign(const QPainterPath other)Assigns another object to self
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
voidaddEllipse(const QRectF rect)Method void QPainterPath::addEllipse(const QRectF &rect)
voidaddEllipse(double x,
double y,
double w,
double h)
Method void QPainterPath::addEllipse(double x, double y, double w, double h)
voidaddEllipse(const QPointF center,
double rx,
double ry)
Method void QPainterPath::addEllipse(const QPointF &center, double rx, double ry)
voidaddPath(const QPainterPath path)Method void QPainterPath::addPath(const QPainterPath &path)
voidaddPolygon(const QPolygonF polygon)Method void QPainterPath::addPolygon(const QPolygonF &polygon)
voidaddRect(const QRectF rect)Method void QPainterPath::addRect(const QRectF &rect)
voidaddRect(double x,
double y,
double w,
double h)
Method void QPainterPath::addRect(double x, double y, double w, double h)
voidaddRegion(const QRegion region)Method void QPainterPath::addRegion(const QRegion &region)
voidaddRoundRect(const QRectF rect,
int xRnd,
int yRnd)
Method void QPainterPath::addRoundRect(const QRectF &rect, int xRnd, int yRnd)
voidaddRoundRect(double x,
double y,
double w,
double h,
int xRnd,
int yRnd)
Method void QPainterPath::addRoundRect(double x, double y, double w, double h, int xRnd, int yRnd)
voidaddRoundRect(const QRectF rect,
int roundness)
Method void QPainterPath::addRoundRect(const QRectF &rect, int roundness)
voidaddRoundRect(double x,
double y,
double w,
double h,
int roundness)
Method void QPainterPath::addRoundRect(double x, double y, double w, double h, int roundness)
voidaddRoundedRect(const QRectF rect,
double xRadius,
double yRadius,
const Qt_SizeMode mode = Qt::AbsoluteSize)
Method void QPainterPath::addRoundedRect(const QRectF &rect, double xRadius, double yRadius, Qt::SizeMode mode)
voidaddRoundedRect(double x,
double y,
double w,
double h,
double xRadius,
double yRadius,
const Qt_SizeMode mode = Qt::AbsoluteSize)
Method void QPainterPath::addRoundedRect(double x, double y, double w, double h, double xRadius, double yRadius, Qt::SizeMode mode)
voidaddText(const QPointF point,
const QFont f,
string text)
Method void QPainterPath::addText(const QPointF &point, const QFont &f, const QString &text)
voidaddText(double x,
double y,
const QFont f,
string text)
Method void QPainterPath::addText(double x, double y, const QFont &f, const QString &text)
[const]doubleangleAtPercent(double t)Method double QPainterPath::angleAtPercent(double t)
voidarcMoveTo(const QRectF rect,
double angle)
Method void QPainterPath::arcMoveTo(const QRectF &rect, double angle)
voidarcMoveTo(double x,
double y,
double w,
double h,
double angle)
Method void QPainterPath::arcMoveTo(double x, double y, double w, double h, double angle)
voidarcTo(const QRectF rect,
double startAngle,
double arcLength)
Method void QPainterPath::arcTo(const QRectF &rect, double startAngle, double arcLength)
voidarcTo(double x,
double y,
double w,
double h,
double startAngle,
double arcLength)
Method void QPainterPath::arcTo(double x, double y, double w, double h, double startAngle, double arcLength)
QPainterPathassign(const QPainterPath other)Method QPainterPath &QPainterPath::operator=(const QPainterPath &other)
[const]QRectFboundingRectMethod QRectF QPainterPath::boundingRect()
voidcloseSubpathMethod void QPainterPath::closeSubpath()
voidconnectPath(const QPainterPath path)Method void QPainterPath::connectPath(const QPainterPath &path)
[const]boolcontains(const QPointF pt)Method bool QPainterPath::contains(const QPointF &pt)
[const]boolcontains(const QRectF rect)Method bool QPainterPath::contains(const QRectF &rect)
[const]boolcontains(const QPainterPath p)Method bool QPainterPath::contains(const QPainterPath &p)
[const]QRectFcontrolPointRectMethod QRectF QPainterPath::controlPointRect()
voidcubicTo(const QPointF ctrlPt1,
const QPointF ctrlPt2,
const QPointF endPt)
Method void QPainterPath::cubicTo(const QPointF &ctrlPt1, const QPointF &ctrlPt2, const QPointF &endPt)
voidcubicTo(double ctrlPt1x,
double ctrlPt1y,
double ctrlPt2x,
double ctrlPt2y,
double endPtx,
double endPty)
Method void QPainterPath::cubicTo(double ctrlPt1x, double ctrlPt1y, double ctrlPt2x, double ctrlPt2y, double endPtx, double endPty)
[const]QPointFcurrentPositionMethod QPointF QPainterPath::currentPosition()
[const]new QPainterPath ptrdupCreates a copy of self
[const]QPainterPath_ElementelementAt(int i)Method QPainterPath::Element QPainterPath::elementAt(int i)
[const]intelementCountMethod int QPainterPath::elementCount()
[const]Qt_FillRulefillRuleMethod Qt::FillRule QPainterPath::fillRule()
voidfillRule=(const Qt_FillRule fillRule)Method void QPainterPath::setFillRule(Qt::FillRule fillRule)
[const]QPainterPathintersected(const QPainterPath r)Method QPainterPath QPainterPath::intersected(const QPainterPath &r)
[const]boolintersects(const QRectF rect)Method bool QPainterPath::intersects(const QRectF &rect)
[const]boolintersects(const QPainterPath p)Method bool QPainterPath::intersects(const QPainterPath &p)
[const]boolisEmpty?Method bool QPainterPath::isEmpty()
[const]doublelengthMethod double QPainterPath::length()
voidlineTo(const QPointF p)Method void QPainterPath::lineTo(const QPointF &p)
voidlineTo(double x,
double y)
Method void QPainterPath::lineTo(double x, double y)
voidmoveTo(const QPointF p)Method void QPainterPath::moveTo(const QPointF &p)
voidmoveTo(double x,
double y)
Method void QPainterPath::moveTo(double x, double y)
[const]doublepercentAtLength(double t)Method double QPainterPath::percentAtLength(double t)
[const]QPointFpointAtPercent(double t)Method QPointF QPainterPath::pointAtPercent(double t)
voidquadTo(const QPointF ctrlPt,
const QPointF endPt)
Method void QPainterPath::quadTo(const QPointF &ctrlPt, const QPointF &endPt)
voidquadTo(double ctrlPtx,
double ctrlPty,
double endPtx,
double endPty)
Method void QPainterPath::quadTo(double ctrlPtx, double ctrlPty, double endPtx, double endPty)
voidsetElementPositionAt(int i,
double x,
double y)
Method void QPainterPath::setElementPositionAt(int i, double x, double y)
voidsetFillRule(const Qt_FillRule fillRule)Method void QPainterPath::setFillRule(Qt::FillRule fillRule)
[const]QPainterPathsimplifiedMethod QPainterPath QPainterPath::simplified()
[const]doubleslopeAtPercent(double t)Method double QPainterPath::slopeAtPercent(double t)
[const]QPainterPathsubtracted(const QPainterPath r)Method QPainterPath QPainterPath::subtracted(const QPainterPath &r)
[const]QPainterPathsubtractedInverted(const QPainterPath r)Method QPainterPath QPainterPath::subtractedInverted(const QPainterPath &r)
voidswap(QPainterPath other)Method void QPainterPath::swap(QPainterPath &other)
[const]QPolygonFtoFillPolygon(const QMatrix matrix = QMatrix())Method QPolygonF QPainterPath::toFillPolygon(const QMatrix &matrix)
[const]QPolygonFtoFillPolygon(const QTransform matrix)Method QPolygonF QPainterPath::toFillPolygon(const QTransform &matrix)
[const]QPolygonF[]toFillPolygons(const QMatrix matrix = QMatrix())Method QList<QPolygonF> QPainterPath::toFillPolygons(const QMatrix &matrix)
[const]QPolygonF[]toFillPolygons(const QTransform matrix)Method QList<QPolygonF> QPainterPath::toFillPolygons(const QTransform &matrix)
[const]QPainterPathtoReversedMethod QPainterPath QPainterPath::toReversed()
[const]QPolygonF[]toSubpathPolygons(const QMatrix matrix = QMatrix())Method QList<QPolygonF> QPainterPath::toSubpathPolygons(const QMatrix &matrix)
[const]QPolygonF[]toSubpathPolygons(const QTransform matrix)Method QList<QPolygonF> QPainterPath::toSubpathPolygons(const QTransform &matrix)
voidtranslate(double dx,
double dy)
Method void QPainterPath::translate(double dx, double dy)
voidtranslate(const QPointF offset)Method void QPainterPath::translate(const QPointF &offset)
[const]QPainterPathtranslated(double dx,
double dy)
Method QPainterPath QPainterPath::translated(double dx, double dy)
[const]QPainterPathtranslated(const QPointF offset)Method QPainterPath QPainterPath::translated(const QPointF &offset)
[const]QPainterPathunited(const QPainterPath r)Method QPainterPath QPainterPath::united(const QPainterPath &r)
[const]QPainterPath|(const QPainterPath other)Method QPainterPath QPainterPath::operator|(const QPainterPath &other)
QPainterPath|=(const QPainterPath other)Method QPainterPath &QPainterPath::operator|=(const QPainterPath &other)

Deprecated methods (protected, public, static, non-static and constructors)

voidcreateUse of this method is deprecated. Use _create instead
voiddestroyUse of this method is deprecated. Use _destroy instead
[const]booldestroyed?Use of this method is deprecated. Use _destroyed? instead
[const]boolis_const_object?Use of this method is deprecated. Use _is_const_object? instead

Detailed description

!=

Signature: [const] bool != (const QPainterPath other)

Description: Method bool QPainterPath::operator!=(const QPainterPath &other)

&

Signature: [const] QPainterPath & (const QPainterPath other)

Description: Method QPainterPath QPainterPath::operator&(const QPainterPath &other)

&=

Signature: QPainterPath &= (const QPainterPath other)

Description: Method QPainterPath &QPainterPath::operator&=(const QPainterPath &other)

*

(1) Signature: [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.

Python specific notes:
This method also implements '__rmul__'.

(2) Signature: [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.

Python specific notes:
This method also implements '__rmul__'.

+

Signature: [const] QPainterPath + (const QPainterPath other)

Description: Method QPainterPath QPainterPath::operator+(const QPainterPath &other)

+=

Signature: QPainterPath += (const QPainterPath other)

Description: Method QPainterPath &QPainterPath::operator+=(const QPainterPath &other)

-

Signature: [const] QPainterPath - (const QPainterPath other)

Description: Method QPainterPath QPainterPath::operator-(const QPainterPath &other)

-=

Signature: QPainterPath -= (const QPainterPath other)

Description: Method QPainterPath &QPainterPath::operator-=(const QPainterPath &other)

==

Signature: [const] bool == (const QPainterPath other)

Description: Method bool QPainterPath::operator==(const QPainterPath &other)

_assign

Signature: void _assign (const QPainterPath other)

Description: Assigns another object to self

_create

Signature: void _create

Description: 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.

_destroy

Signature: void _destroy

Description: 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.

_destroyed?

Signature: [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.

_is_const_object?

Signature: [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.

_manage

Signature: void _manage

Description: 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.

_unmanage

Signature: void _unmanage

Description: 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.

addEllipse

(1) Signature: void addEllipse (const QRectF rect)

Description: Method void QPainterPath::addEllipse(const QRectF &rect)

(2) Signature: void addEllipse (double x, double y, double w, double h)

Description: Method void QPainterPath::addEllipse(double x, double y, double w, double h)

(3) Signature: void addEllipse (const QPointF center, double rx, double ry)

Description: Method void QPainterPath::addEllipse(const QPointF &center, double rx, double ry)

addPath

Signature: void addPath (const QPainterPath path)

Description: Method void QPainterPath::addPath(const QPainterPath &path)

addPolygon

Signature: void addPolygon (const QPolygonF polygon)

Description: Method void QPainterPath::addPolygon(const QPolygonF &polygon)

addRect

(1) Signature: void addRect (const QRectF rect)

Description: Method void QPainterPath::addRect(const QRectF &rect)

(2) Signature: void addRect (double x, double y, double w, double h)

Description: Method void QPainterPath::addRect(double x, double y, double w, double h)

addRegion

Signature: void addRegion (const QRegion region)

Description: Method void QPainterPath::addRegion(const QRegion &region)

addRoundRect

(1) Signature: void addRoundRect (const QRectF rect, int xRnd, int yRnd)

Description: Method void QPainterPath::addRoundRect(const QRectF &rect, int xRnd, int yRnd)

(2) Signature: 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)

(3) Signature: void addRoundRect (const QRectF rect, int roundness)

Description: Method void QPainterPath::addRoundRect(const QRectF &rect, int roundness)

(4) Signature: 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)

addRoundedRect

(1) Signature: 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)

(2) Signature: 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)

addText

(1) Signature: void addText (const QPointF point, const QFont f, string text)

Description: Method void QPainterPath::addText(const QPointF &point, const QFont &f, const QString &text)

(2) Signature: 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)

angleAtPercent

Signature: [const] double angleAtPercent (double t)

Description: Method double QPainterPath::angleAtPercent(double t)

arcMoveTo

(1) Signature: void arcMoveTo (const QRectF rect, double angle)

Description: Method void QPainterPath::arcMoveTo(const QRectF &rect, double angle)

(2) Signature: 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)

arcTo

(1) Signature: void arcTo (const QRectF rect, double startAngle, double arcLength)

Description: Method void QPainterPath::arcTo(const QRectF &rect, double startAngle, double arcLength)

(2) Signature: 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)

assign

Signature: QPainterPath assign (const QPainterPath other)

Description: Method QPainterPath &QPainterPath::operator=(const QPainterPath &other)

boundingRect

Signature: [const] QRectF boundingRect

Description: Method QRectF QPainterPath::boundingRect()

closeSubpath

Signature: void closeSubpath

Description: Method void QPainterPath::closeSubpath()

connectPath

Signature: void connectPath (const QPainterPath path)

Description: Method void QPainterPath::connectPath(const QPainterPath &path)

contains

(1) Signature: [const] bool contains (const QPointF pt)

Description: Method bool QPainterPath::contains(const QPointF &pt)

(2) Signature: [const] bool contains (const QRectF rect)

Description: Method bool QPainterPath::contains(const QRectF &rect)

(3) Signature: [const] bool contains (const QPainterPath p)

Description: Method bool QPainterPath::contains(const QPainterPath &p)

controlPointRect

Signature: [const] QRectF controlPointRect

Description: Method QRectF QPainterPath::controlPointRect()

create

Signature: void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

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.

cubicTo

(1) Signature: 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)

(2) Signature: 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)

currentPosition

Signature: [const] QPointF currentPosition

Description: Method QPointF QPainterPath::currentPosition()

destroy

Signature: void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

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.

destroyed?

Signature: [const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

Use of this method is deprecated. Use _destroyed? instead

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.

dup

Signature: [const] new QPainterPath ptr dup

Description: Creates a copy of self

Python specific notes:
This method also implements '__copy__' and '__deepcopy__'.

elementAt

Signature: [const] QPainterPath_Element elementAt (int i)

Description: Method QPainterPath::Element QPainterPath::elementAt(int i)

elementCount

Signature: [const] int elementCount

Description: Method int QPainterPath::elementCount()

fillRule

Signature: [const] Qt_FillRule fillRule

Description: Method Qt::FillRule QPainterPath::fillRule()

Python specific notes:
The object exposes a readable attribute 'fillRule'. This is the getter.

fillRule=

Signature: 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.

intersected

Signature: [const] QPainterPath intersected (const QPainterPath r)

Description: Method QPainterPath QPainterPath::intersected(const QPainterPath &r)

intersects

(1) Signature: [const] bool intersects (const QRectF rect)

Description: Method bool QPainterPath::intersects(const QRectF &rect)

(2) Signature: [const] bool intersects (const QPainterPath p)

Description: Method bool QPainterPath::intersects(const QPainterPath &p)

isEmpty?

Signature: [const] bool isEmpty?

Description: Method bool QPainterPath::isEmpty()

is_const_object?

Signature: [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

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

length

Signature: [const] double length

Description: Method double QPainterPath::length()

lineTo

(1) Signature: void lineTo (const QPointF p)

Description: Method void QPainterPath::lineTo(const QPointF &p)

(2) Signature: void lineTo (double x, double y)

Description: Method void QPainterPath::lineTo(double x, double y)

moveTo

(1) Signature: void moveTo (const QPointF p)

Description: Method void QPainterPath::moveTo(const QPointF &p)

(2) Signature: void moveTo (double x, double y)

Description: Method void QPainterPath::moveTo(double x, double y)

new

(1) Signature: [static] new QPainterPath new

Description: Constructor QPainterPath::QPainterPath()

This method creates an object of class QPainterPath.

Python specific notes:
This method is the default initializer of the object.

(2) Signature: [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.

(3) Signature: [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.

percentAtLength

Signature: [const] double percentAtLength (double t)

Description: Method double QPainterPath::percentAtLength(double t)

pointAtPercent

Signature: [const] QPointF pointAtPercent (double t)

Description: Method QPointF QPainterPath::pointAtPercent(double t)

quadTo

(1) Signature: void quadTo (const QPointF ctrlPt, const QPointF endPt)

Description: Method void QPainterPath::quadTo(const QPointF &ctrlPt, const QPointF &endPt)

(2) Signature: void quadTo (double ctrlPtx, double ctrlPty, double endPtx, double endPty)

Description: Method void QPainterPath::quadTo(double ctrlPtx, double ctrlPty, double endPtx, double endPty)

setElementPositionAt

Signature: void setElementPositionAt (int i, double x, double y)

Description: Method void QPainterPath::setElementPositionAt(int i, double x, double y)

setFillRule

Signature: 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.

simplified

Signature: [const] QPainterPath simplified

Description: Method QPainterPath QPainterPath::simplified()

slopeAtPercent

Signature: [const] double slopeAtPercent (double t)

Description: Method double QPainterPath::slopeAtPercent(double t)

subtracted

Signature: [const] QPainterPath subtracted (const QPainterPath r)

Description: Method QPainterPath QPainterPath::subtracted(const QPainterPath &r)

subtractedInverted

Signature: [const] QPainterPath subtractedInverted (const QPainterPath r)

Description: Method QPainterPath QPainterPath::subtractedInverted(const QPainterPath &r)

swap

Signature: void swap (QPainterPath other)

Description: Method void QPainterPath::swap(QPainterPath &other)

toFillPolygon

(1) Signature: [const] QPolygonF toFillPolygon (const QMatrix matrix = QMatrix())

Description: Method QPolygonF QPainterPath::toFillPolygon(const QMatrix &matrix)

(2) Signature: [const] QPolygonF toFillPolygon (const QTransform matrix)

Description: Method QPolygonF QPainterPath::toFillPolygon(const QTransform &matrix)

toFillPolygons

(1) Signature: [const] QPolygonF[] toFillPolygons (const QMatrix matrix = QMatrix())

Description: Method QList<QPolygonF> QPainterPath::toFillPolygons(const QMatrix &matrix)

(2) Signature: [const] QPolygonF[] toFillPolygons (const QTransform matrix)

Description: Method QList<QPolygonF> QPainterPath::toFillPolygons(const QTransform &matrix)

toReversed

Signature: [const] QPainterPath toReversed

Description: Method QPainterPath QPainterPath::toReversed()

toSubpathPolygons

(1) Signature: [const] QPolygonF[] toSubpathPolygons (const QMatrix matrix = QMatrix())

Description: Method QList<QPolygonF> QPainterPath::toSubpathPolygons(const QMatrix &matrix)

(2) Signature: [const] QPolygonF[] toSubpathPolygons (const QTransform matrix)

Description: Method QList<QPolygonF> QPainterPath::toSubpathPolygons(const QTransform &matrix)

translate

(1) Signature: void translate (double dx, double dy)

Description: Method void QPainterPath::translate(double dx, double dy)

(2) Signature: void translate (const QPointF offset)

Description: Method void QPainterPath::translate(const QPointF &offset)

translated

(1) Signature: [const] QPainterPath translated (double dx, double dy)

Description: Method QPainterPath QPainterPath::translated(double dx, double dy)

(2) Signature: [const] QPainterPath translated (const QPointF offset)

Description: Method QPainterPath QPainterPath::translated(const QPointF &offset)

united

Signature: [const] QPainterPath united (const QPainterPath r)

Description: Method QPainterPath QPainterPath::united(const QPainterPath &r)

|

Signature: [const] QPainterPath | (const QPainterPath other)

Description: Method QPainterPath QPainterPath::operator|(const QPainterPath &other)

|=

Signature: QPainterPath |= (const QPainterPath other)

Description: Method QPainterPath &QPainterPath::operator|=(const QPainterPath &other)