42 #ifndef QPAINTENGINE_P_H 43 #define QPAINTENGINE_P_H 56 #include "QtGui/qpainter.h" 57 #include "QtGui/qpaintengine.h" 58 #include "QtGui/qregion.h" 59 #include "private/qobject_p.h" 91 systemClip = systemTransform.
map(systemClip);
106 systemTransform = xform;
114 systemViewport = region;
125 #endif // QPAINTENGINE_P_H void setSystemViewport(const QRegion ®ion)
#define QT_END_NAMESPACE
This macro expands to.
void setSystemTransform(const QTransform &xform)
The QPointF class defines a point in the plane using floating point precision.
QRect boundingRect() const
Returns the bounding rectangle of this region.
void transformSystemClip()
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool isEmpty() const
Returns true if the region is empty; otherwise returns false.
The QRegion class specifies a clip region for a painter.
QTransform systemTransform
The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a g...
virtual ~QPaintEnginePrivate()
virtual void systemStateChanged()
#define Q_DECLARE_PUBLIC(Class)
The QRect class defines a rectangle in the plane using integer precision.
void translate(int dx, int dy)
Translates (moves) the region dx along the X axis and dy along the Y axis.
The QSize class defines the size of a two-dimensional object using integer point precision.
void drawBoxTextItem(const QPointF &p, const QTextItemInt &ti)
Q_DECL_CONSTEXPR int qRound(qreal d)
QWidget * currentClipWidget
QPoint topLeft() const
Returns the position of the rectangle's top-left corner.