|
bool | begin (QPaintDevice *device) |
| Reimplement this function to initialise your paint engine when painting is to start on the paint device pdev. More...
|
|
QString | documentDescription () const |
|
QString | documentTitle () const |
|
void | drawImage (const QRectF &r, const QImage &pm, const QRectF &sr, Qt::ImageConversionFlag=Qt::AutoColor) |
|
void | drawPath (const QPainterPath &path) |
| The default implementation ignores the path and does nothing. More...
|
|
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. More...
|
|
void | drawPolygon (const QPointF *points, int pointCount, PolygonDrawMode mode) |
| Reimplement this virtual function to draw the polygon defined by the pointCount first points in points, using mode mode. More...
|
|
void | drawTextItem (const QPointF &pt, const QTextItem &item) |
| This function draws the text item textItem at position p. More...
|
|
bool | end () |
| Reimplement this function to finish painting on the current paint device. More...
|
|
void | generateQtDefaults () |
|
QIODevice * | outputDevice () const |
|
void | popGroup () |
|
void | qbrushToSvg (const QBrush &sbrush) |
|
void | qfontToSvg (const QFont &sfont) |
|
void | qpenToSvg (const QPen &spen) |
|
| QSvgPaintEngine () |
|
int | resolution () |
|
void | saveConicalGradientBrush (const QGradient *) |
|
void | saveGradientStops (QTextStream &str, const QGradient *g) |
|
void | saveGradientUnits (QTextStream &str, const QGradient *gradient) |
|
void | saveLinearGradientBrush (const QGradient *g) |
|
void | saveRadialGradientBrush (const QGradient *g) |
|
void | setDocumentDescription (const QString &description) |
|
void | setDocumentTitle (const QString &title) |
|
void | setOutputDevice (QIODevice *device) |
|
void | setResolution (int resolution) |
|
void | setSize (const QSize &size) |
|
void | setViewBox (const QRectF &viewBox) |
|
QSize | size () const |
|
QTextStream & | stream () |
|
QPaintEngine::Type | type () const |
| Reimplement this function to return the paint engine Type. More...
|
|
void | updateState (const QPaintEngineState &state) |
| Reimplement this function to update the state of a paint engine. More...
|
|
QRectF | viewBox () const |
|
void | clearDirty (DirtyFlags df) |
|
virtual QPoint | coordinateOffset () const |
| Returns the offset from the painters origo to the engines origo. More...
|
|
virtual void | drawEllipse (const QRectF &r) |
| Reimplement this function to draw the largest ellipse that can be contained within rectangle rect. More...
|
|
virtual void | drawEllipse (const QRect &r) |
| The default implementation of this function calls the floating point version of this function. More...
|
|
virtual void | drawImage (const QRectF &r, const QImage &pm, const QRectF &sr, Qt::ImageConversionFlags flags=Qt::AutoColor) |
| Reimplement this function to draw the part of the image specified by the sr rectangle in the given rectangle using the given conversion flags flags, to convert it to a pixmap. More...
|
|
virtual void | drawLines (const QLine *lines, int lineCount) |
| The default implementation converts the first lineCount lines in lines to a QLineF and calls the floating point version of this function. More...
|
|
virtual void | drawLines (const QLineF *lines, int lineCount) |
| The default implementation splits the list of lines in lines into lineCount separate calls to drawPath() or drawPolygon() depending on the feature set of the paint engine. More...
|
|
virtual void | drawPoints (const QPointF *points, int pointCount) |
| Draws the first pointCount points in the buffer points. More...
|
|
virtual void | drawPoints (const QPoint *points, int pointCount) |
| Draws the first pointCount points in the buffer points. More...
|
|
virtual void | drawPolygon (const QPoint *points, int pointCount, PolygonDrawMode mode) |
| Reimplement this virtual function to draw the polygon defined by the pointCount first points in points, using mode mode. More...
|
|
virtual void | drawRects (const QRect *rects, int rectCount) |
| The default implementation converts the first rectCount rectangles in the buffer rects to a QRectF and calls the floating point version of this function. More...
|
|
virtual void | drawRects (const QRectF *rects, int rectCount) |
| Draws the first rectCount rectangles in the buffer rects. More...
|
|
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. More...
|
|
void | fix_neg_rect (int *x, int *y, int *w, int *h) |
|
virtual HDC | getDC () const |
| Empty default implementation. More...
|
|
bool | hasFeature (PaintEngineFeatures feature) const |
| Returns true if the paint engine supports the specified feature; otherwise returns false. More...
|
|
bool | isActive () const |
| Returns true if the paint engine is actively drawing; otherwise returns false. More...
|
|
bool | isExtended () const |
| Returns true if the paint engine is a QPaintEngineEx derivative. More...
|
|
QPaintDevice * | paintDevice () const |
| Returns the device that this engine is painting on, if painting is active; otherwise returns 0. More...
|
|
QPainter * | painter () const |
| Returns the paint engine's painter. More...
|
|
| QPaintEngine (PaintEngineFeatures features=0) |
| Creates a paint engine with the featureset specified by caps. More...
|
|
virtual void | releaseDC (HDC hdc) const |
| Empty default implementation. More...
|
|
void | setActive (bool newState) |
| Sets the active state of the paint engine to state. More...
|
|
void | setDirty (DirtyFlags df) |
|
void | setPaintDevice (QPaintDevice *device) |
|
void | setSystemClip (const QRegion &baseClip) |
| Sets the system clip for this engine. More...
|
|
void | setSystemRect (const QRect &rect) |
| Sets the target rect for drawing within the backing store. More...
|
|
void | syncState () |
| Updates all dirty states in this engine. More...
|
|
QRegion | systemClip () const |
| Returns the system clip. More...
|
|
QRect | systemRect () const |
| Retrieves the rect for drawing within the backing store. More...
|
|
bool | testDirty (DirtyFlags df) |
|
virtual | ~QPaintEngine () |
| Destroys the paint engine. More...
|
|
|
enum | DirtyFlag {
DirtyPen = 0x0001,
DirtyBrush = 0x0002,
DirtyBrushOrigin = 0x0004,
DirtyFont = 0x0008,
DirtyBackground = 0x0010,
DirtyBackgroundMode = 0x0020,
DirtyTransform = 0x0040,
DirtyClipRegion = 0x0080,
DirtyClipPath = 0x0100,
DirtyHints = 0x0200,
DirtyCompositionMode = 0x0400,
DirtyClipEnabled = 0x0800,
DirtyOpacity = 0x1000,
AllDirty = 0xffff
} |
| QPaintEngine::updateState(). More...
|
|
enum | PaintEngineFeature {
PrimitiveTransform = 0x00000001,
PatternTransform = 0x00000002,
PixmapTransform = 0x00000004,
PatternBrush = 0x00000008,
LinearGradientFill = 0x00000010,
RadialGradientFill = 0x00000020,
ConicalGradientFill = 0x00000040,
AlphaBlend = 0x00000080,
PorterDuff = 0x00000100,
PainterPaths = 0x00000200,
Antialiasing = 0x00000400,
BrushStroke = 0x00000800,
ConstantOpacity = 0x00001000,
MaskedBrush = 0x00002000,
PerspectiveTransform = 0x00004000,
BlendModes = 0x00008000,
ObjectBoundingModeGradients = 0x00010000,
RasterOpModes = 0x00020000,
PaintOutsidePaintEvent = 0x20000000,
AllFeatures = 0xffffffff
} |
| This enum is used to describe the features or capabilities that the paint engine has. More...
|
|
enum | PolygonDrawMode { OddEvenMode,
WindingMode,
ConvexMode,
PolylineMode
} |
|
enum | Type {
X11,
Windows,
QuickDraw,
CoreGraphics,
MacPrinter,
QWindowSystem,
PostScript,
OpenGL,
Picture,
SVG,
Raster,
Direct3D,
Pdf,
OpenVG,
OpenGL2,
PaintBuffer,
Blitter,
User = 50,
MaxUser = 100
} |
|
| QPaintEngine (QPaintEnginePrivate &data, PaintEngineFeatures devcaps=0) |
|
uint | active: 1 |
|
QScopedPointer< QPaintEnginePrivate > | d_ptr |
|
uint | extended: 1 |
|
PaintEngineFeatures | gccaps |
|
uint | selfDestruct: 1 |
|
QPaintEngineState * | state |
|
Definition at line 156 of file qsvggenerator.cpp.