4#ifndef QPAINTENGINE_ALPHA_P_H
5#define QPAINTENGINE_ALPHA_P_H
18#include <QtPrintSupport/private/qtprintsupportglobal_p.h>
21#include "private/qpaintengine_p.h"
22#include <QtPrintSupport/qtprintsupportglobal.h>
50 bool continueCall()
const;
51 void flushAndInit(
bool init =
true);
int m_numberOfCachedRects
void drawAlphaImage(const QRectF &rect)
QPaintEngine * m_picengine
QPaintEngine::PaintEngineFeatures m_savedcaps
void resetState(QPainter *p)
QRectF addPenWidth(const QPainterPath &path)
bool m_emulateProjectiveTransforms
void addDirtyRect(const QRectF &rect)
void addAlphaRect(const QRectF &rect)
QAlphaPaintEnginePrivate()
bool fullyContained(const QRectF &rect) const
QList< QRect > m_dirtyRects
QRect toRect(const QRectF &rect) const
~QAlphaPaintEnginePrivate()
bool canSeeTroughBackground(bool somethingInRectHasAlpha, const QRectF &rect) const
void append(parameter_type t)
The QPaintEngineState class provides information about the active paint engine's current state....
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.
virtual void updateState(const QPaintEngineState &state)=0
Reimplement this function to update the state of a paint engine.
virtual void drawTextItem(const QPointF &p, const QTextItem &textItem)
This function draws the text item textItem at position p.
PolygonDrawMode
\value OddEvenMode The polygon should be drawn using OddEven fill rule.
virtual void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr)=0
Reimplement this function to draw the part of the pm specified by the sr rectangle in the given r.
virtual bool begin(QPaintDevice *pdev)=0
Reimplement this function to initialise your paint engine when painting is to start on the paint devi...
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()=0
Reimplement this function to finish painting on the current paint device.
virtual void drawPath(const QPainterPath &path)
The default implementation ignores the path and does nothing.
The QPainter class performs low-level painting on widgets and other paint devices.
The QPicture class is a paint device that records and replays QPainter commands.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
The QRegion class specifies a clip region for a painter.
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLfixed GLfixed GLint GLint GLfixed points
GLsizei const GLchar *const * path
static QT_BEGIN_NAMESPACE void init(QTextBoundaryFinder::BoundaryType type, QStringView str, QCharAttributes *attributes)