43 #include <QtGui/qtguiglobal.h>
44 #include <QtCore/qlist.h>
45 #include <QtCore/qpoint.h>
46 #include <QtCore/qrect.h>
63 Q_IMPLICIT Q_GUI_EXPORT
QPolygon(
const QRect &
r,
bool closed=
false);
67 Q_GUI_EXPORT
operator QVariant()
const;
69 Q_GUI_EXPORT
void translate(
int dx,
int dy);
77 Q_GUI_EXPORT
void point(
int i,
int *
x,
int *
y)
const;
82 Q_GUI_EXPORT
void setPoints(
int nPoints,
int firstx,
int firsty, ...);
84 Q_GUI_EXPORT
void putPoints(
int index,
int nPoints,
int firstx,
int firsty, ...);
97 #ifndef QT_NO_DEBUG_STREAM
104 #ifndef QT_NO_DATASTREAM
138 Q_GUI_EXPORT
operator QVariant()
const;
162 #ifndef QT_NO_DEBUG_STREAM
169 #ifndef QT_NO_DATASTREAM
small capitals from c petite p scientific i
[1]
The QDataStream class provides serialization of binary data to a QIODevice.
operator>>(QDataStream &ds, qfloat16 &f)
operator<<(QDataStream &ds, qfloat16 f)
The QDebug class provides an output stream for debugging information.
bool isEmpty() const noexcept
const_reference at(qsizetype i) const noexcept
void swap(QList &other) noexcept
The QPointF class defines a point in the plane using floating point precision.
The QPoint class defines a point in the plane using integer precision.
constexpr int x() const noexcept
constexpr int y() const noexcept
The QPolygonF class provides a list of points using floating point precision. \inmodule QtGui.
QPolygon Q_GUI_EXPORT toPolygon() const
void swap(QPolygonF &other)
Q_GUI_EXPORT QPolygonF intersected(const QPolygonF &r) const
Q_IMPLICIT QPolygonF(QList< QPointF > &&v) noexcept
Q_GUI_EXPORT bool containsPoint(const QPointF &pt, Qt::FillRule fillRule) const
Q_IMPLICIT QPolygonF(const QList< QPointF > &v)
Q_GUI_EXPORT QPolygonF subtracted(const QPolygonF &r) const
Q_GUI_EXPORT QPolygonF united(const QPolygonF &r) const
Q_GUI_EXPORT bool intersects(const QPolygonF &r) const
void translate(qreal dx, qreal dy)
QRectF Q_GUI_EXPORT boundingRect() const
QPolygonF translated(qreal dx, qreal dy) const
The QPolygon class provides a list of points using integer precision. \inmodule QtGui.
Q_GUI_EXPORT bool intersects(const QPolygon &r) const
Q_GUI_EXPORT QPolygon subtracted(const QPolygon &r) const
Q_GUI_EXPORT void translate(int dx, int dy)
void swap(QPolygon &other) noexcept
Q_IMPLICIT QPolygon(QList< QPoint > &&v) noexcept
Q_GUI_EXPORT QPolygon translated(int dx, int dy) const
Q_GUI_EXPORT bool containsPoint(const QPoint &pt, Qt::FillRule fillRule) const
Q_GUI_EXPORT void putPoints(int index, int nPoints, const int *points)
Q_GUI_EXPORT QPolygon united(const QPolygon &r) const
Q_GUI_EXPORT void setPoint(int index, int x, int y)
Q_GUI_EXPORT QRect boundingRect() const
Q_IMPLICIT QPolygon(const QList< QPoint > &v)
Q_GUI_EXPORT void point(int i, int *x, int *y) const
Q_GUI_EXPORT QPolygon intersected(const QPolygon &r) const
Q_GUI_EXPORT void setPoints(int nPoints, const int *points)
The QRectF class defines a finite rectangle in the plane using floating point precision.
The QRect class defines a rectangle in the plane using integer precision.
The QVariant class acts like a union for the most common Qt data types.
QT_END_INCLUDE_NAMESPACE typedef double qreal
GLsizei const GLfloat * v
[13]
GLint GLint GLint GLint GLint x
[0]
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLuint GLintptr offset
GLfixed GLfixed GLint GLint GLfixed points
#define Q_DECLARE_SHARED(TYPE)