26static const int points[] = { 10, 20, 30, 40 };
36polygon.setPoints(2, 10, 20, 30, 40);
45polygon.putPoints(1, 2, 6,7, 8,9);
53polygon.putPoints(0, 3, 4,5, 0,0, 8,9);
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
The QPolygonF class provides a list of points using floating point precision.
The QPolygon class provides a list of points using integer precision.
Q_GUI_EXPORT void putPoints(int index, int nPoints, const int *points)
This is an overloaded member function, provided for convenience. It differs from the above function o...
GLfixed GLfixed GLint GLint GLfixed points