Definition at line 60 of file qpolygon.h.
#include <qpolygon.h>

Public Member Functions |
|
| QPolygon () | |
| ~QPolygon () | |
| QPolygon (int size) | |
| QPolygon (const QPolygon &a) | |
| QPolygon (const QVector< QPoint > &v) | |
| QPolygon (const QRect &r, bool closed=false) | |
| QPolygon (int nPoints, const int *points) | |
| operator QVariant () const | |
| void | translate (int dx, int dy) |
| void | translate (const QPoint &offset) |
| QPolygon | translated (int dx, int dy) const |
| QPolygon | translated (const QPoint &offset) const |
| QRect | boundingRect () const |
| void | point (int i, int *x, int *y) const |
| QPoint | point (int i) const |
| void | setPoint (int index, int x, int y) |
| void | setPoint (int index, const QPoint &p) |
| void | setPoints (int nPoints, const int *points) |
| void | setPoints (int nPoints, int firstx, int firsty,...) |
| void | putPoints (int index, int nPoints, const int *points) |
| void | putPoints (int index, int nPoints, int firstx, int firsty,...) |
| void | putPoints (int index, int nPoints, const QPolygon &from, int fromIndex=0) |
| bool | containsPoint (const QPoint &pt, Qt::FillRule fillRule) const |
| QPolygon | united (const QPolygon &r) const |
| QPolygon | intersected (const QPolygon &r) const |
| QPolygon | subtracted (const QPolygon &r) const |
| QPolygon | ( | ) | [inline] |
Definition at line 63 of file qpolygon.h.
{}
| ~QPolygon | ( | ) | [inline] |
Definition at line 64 of file qpolygon.h.
{}
| QPolygon | ( | int | size | ) | [inline] |
Definition at line 97 of file qpolygon.h.
: QVector<QPoint>(asize) {}
Definition at line 66 of file qpolygon.h.
: QVector<QPoint>(a) {}
Definition at line 67 of file qpolygon.h.
: QVector<QPoint>(v) {}
| QPolygon | ( | int | nPoints, |
| const int * | points | ||
| ) |
| operator QVariant | ( | ) | const |
| void translate | ( | int | dx, |
| int | dy | ||
| ) |
| void translate | ( | const QPoint & | offset | ) | [inline] |
Definition at line 124 of file qpolygon.h.
| QPolygon translated | ( | int | dx, |
| int | dy | ||
| ) | const |
Definition at line 127 of file qpolygon.h.
{ return translated(offset.x(), offset.y()); }
| QRect boundingRect | ( | ) | const |
| void point | ( | int | i, |
| int * | x, | ||
| int * | y | ||
| ) | const |
| QPoint point | ( | int | i | ) | const [inline] |
| void setPoint | ( | int | index, |
| int | x, | ||
| int | y | ||
| ) | [inline] |
Definition at line 118 of file qpolygon.h.
{ (*this)[index] = QPoint(x, y); }
| void setPoint | ( | int | index, |
| const QPoint & | p | ||
| ) | [inline] |
| void setPoints | ( | int | nPoints, |
| const int * | points | ||
| ) |
| void setPoints | ( | int | nPoints, |
| int | firstx, | ||
| int | firsty, | ||
| ... | |||
| ) |
| void putPoints | ( | int | index, |
| int | nPoints, | ||
| const int * | points | ||
| ) |
| void putPoints | ( | int | index, |
| int | nPoints, | ||
| int | firstx, | ||
| int | firsty, | ||
| ... | |||
| ) |
| void putPoints | ( | int | index, |
| int | nPoints, | ||
| const QPolygon & | from, | ||
| int | fromIndex =
0 |
||
| ) |
| bool containsPoint | ( | const QPoint & | pt, |
| Qt::FillRule | fillRule | ||
| ) | const |