#include <FxUIPainterPath.h>
|
| CFxUIPainterPathImpl * | m_pImpl = nullptr |
| |
Definition at line 40 of file FxUIPainterPath.h.
◆ CFxUIPainterPath() [1/3]
| CFxUIPainterPath::CFxUIPainterPath |
( |
| ) |
|
◆ CFxUIPainterPath() [2/3]
◆ CFxUIPainterPath() [3/3]
◆ ~CFxUIPainterPath()
| CFxUIPainterPath::~CFxUIPainterPath |
( |
| ) |
|
◆ addEllipse()
| void CFxUIPainterPath::addEllipse |
( |
int | x, |
|
|
int | y, |
|
|
int | width, |
|
|
int | height ) |
Creates an ellipse within the bounding rectangle defined by its top-left corner at (x, y), width and height, and adds it to the painter path as a closed subpath.
- Parameters
-
| x-coordinate | |
| y-coordinate | |
| width | |
| height | |
◆ addRoundedRect()
| void CFxUIPainterPath::addRoundedRect |
( |
CFxUIRect & | rect, |
|
|
int | xRadius, |
|
|
int | yRadius ) |
Creates a rounded rect with corner radius
- Parameters
-
◆ arcTo()
| void CFxUIPainterPath::arcTo |
( |
const CFxUIRect & | rect, |
|
|
int | startAngle, |
|
|
int | sweepLength ) |
Creates an arc that occupies the given rectangle, beginning at the specified startAngle and extending sweepLength degrees counter-clockwise.
- Parameters
-
◆ lineTo()
| void CFxUIPainterPath::lineTo |
( |
int | x, |
|
|
int | y ) |
Draws a line from the current position to the point (x, y).
- Parameters
-
| x-coordinate | |
| y-coordinate | |
◆ moveTo()
| void CFxUIPainterPath::moveTo |
( |
int | x, |
|
|
int | y ) |
Moves the current position to (x, y) and starts a new subpath, implicitly closing the previous path.
- Parameters
-
| x-coordinate | |
| y-coordinate | |
◆ operator const FxNativePainterPath &()
◆ operator=()
◆ toFillPolygon()
Converts the path into a polygon, and returns the polygon.
- Returns
- CFxUIPolygonF
◆ m_pImpl
| CFxUIPainterPathImpl* CFxUIPainterPath::m_pImpl = nullptr |
|
protected |
The documentation for this class was generated from the following file: