4#ifndef QWINDOWSDIRECT2DPAINTENGINE_H
5#define QWINDOWSDIRECT2DPAINTENGINE_H
7#include <QtCore/qscopedpointer.h>
8#include <QtGui/private/qpaintengineex_p.h>
76 void ensurePen(
const QPen &pen);
80 enum EmulationType { PenEmulation, BrushEmulation };
81 bool emulationRequired(EmulationType
type)
const;
83 bool antiAliasingEnabled()
const;
85 void adjustForAliasing(
QPointF *point);
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
~QWindowsDirect2DPaintEngineSuspender()
void penChanged() override
void fillRect(const QRectF &rect, const QBrush &brush) override
Type type() const override
Reimplement this function to return the paint engine \l{Type}.
void stroke(ID2D1Geometry *geometry, const QPen &pen)
void opacityChanged() override
void renderHintsChanged() override
void fill(ID2D1Geometry *geometry, const QBrush &brush)
@ TranslucentTopLevelWindow
void brushOriginChanged() override
void compositionModeChanged() override
void drawRects(const QRect *rects, int rectCount) override
This is an overloaded member function, provided for convenience. It differs from the above function o...
void transformChanged() override
void draw(const QVectorPath &path) override
void drawEllipse(const QRectF &r) override
Reimplement this function to draw the largest ellipse that can be contained within rectangle rect.
void clipEnabledChanged() override
void drawTextItem(const QPointF &p, const QTextItem &textItem) override
This function draws the text item textItem at position p.
void brushChanged() override
void setState(QPainterState *s) override
void stroke(const QVectorPath &path, const QPen &pen) override
void drawStaticTextItem(QStaticTextItem *staticTextItem) override
void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr) override
Reimplement this function to draw the part of the pm specified by the sr rectangle in the given r.
void fill(const QVectorPath &path, const QBrush &brush) override
void clip(const QVectorPath &path, Qt::ClipOperation op) override
bool end() override
Reimplement this function to finish painting on the current paint device.
void drawImage(const QRectF &rectangle, const QImage &image, const QRectF &sr, Qt::ImageConversionFlags flags=Qt::AutoColor) override
Reimplement this function to draw the part of the image specified by the sr rectangle in the given re...
bool begin(QPaintDevice *pdev) override
Reimplement this function to initialise your paint engine when painting is to start on the paint devi...
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
GLsizei GLfixed GLfixed GLfixed GLfixed const GLubyte * bitmap
GLsizei const GLchar *const * path