42 #ifndef QPAINTENGINE_ALPHA_P_H 43 #define QPAINTENGINE_ALPHA_P_H 57 #include "private/qpaintengine_p.h" 122 void addAlphaRect(
const QRectF &rect);
124 void drawAlphaImage(
const QRectF &rect);
126 bool fullyContained(
const QRectF &rect)
const;
133 #endif // QT_NO_PRINTER 135 #endif // QPAINTENGINE_ALPHA_P_H The QPainter class performs low-level painting on widgets and other paint devices.
virtual void drawTiledPixmap(const QRectF &r, const QPixmap &pixmap, const QPointF &s)
Reimplement this function to draw the pixmap in the given rect, starting at the given p...
#define QT_END_NAMESPACE
This macro expands to.
virtual void drawPath(const QPainterPath &path)
The default implementation ignores the path and does nothing.
The QPainterPath class provides a container for painting operations, enabling graphical shapes to be ...
QPaintEngineState * state
QAlphaPaintEngine(QAlphaPaintEnginePrivate &data, PaintEngineFeatures devcaps=0)
The QPointF class defines a point in the plane using floating point precision.
virtual void drawPolygon(const QPointF *points, int pointCount, PolygonDrawMode mode)
Reimplement this virtual function to draw the polygon defined by the pointCount first points in point...
virtual bool end()
Reimplement this function to finish painting on the current paint device.
The QPen class defines how a QPainter should draw lines and outlines of shapes.
QPaintEngine::PaintEngineFeatures m_savedcaps
virtual void drawImage(const QRectF &r, const QImage &image, const QRectF &sr)
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
The QImage class provides a hardware-independent image representation that allows direct access to th...
static const char * data(const QByteArray &arr)
The QRegion class specifies a clip region for a painter.
The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a g...
#define Q_DECLARE_PUBLIC(Class)
QPaintEngine * m_picengine
virtual bool begin(QPaintDevice *pdev)
Reimplement this function to initialise your paint engine when painting is to start on the paint devi...
The QRect class defines a rectangle in the plane using integer precision.
bool continueCall() const
The QPixmap class is an off-screen image representation that can be used as a paint device...
The QPaintEngineState class provides information about the active paint engine's current state...
#define Q_DECLARE_PRIVATE(Class)
virtual void drawTextItem(const QPointF &p, const QTextItem &textItem)
This function draws the text item textItem at position p.
void flushAndInit(bool init=true)
virtual void updateState(const QPaintEngineState &state)
Reimplement this function to update the state of a paint engine.
The QTextItem class provides all the information required to draw text in a custom paint engine...
QRegion alphaClipping() const
The QPicture class is a paint device that records and replays QPainter commands.
bool m_emulateProjectiveTransforms
virtual void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr)
Reimplement this function to draw the part of the pm specified by the sr rectangle in the given r...