QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | Static Public Member Functions | List of all members
QgsPaintEngineHack Class Reference

Hack to workaround Qt #5114 by disabling PatternTransform. More...

#include <qgspaintenginehack.h>

Inheritance diagram for QgsPaintEngineHack:
Inheritance graph
[legend]

Public Member Functions

void fixFlags ()
 
- Public Member Functions inherited from QPaintEngine
 QPaintEngine (QFlags< QPaintEngine::PaintEngineFeature > caps)
 
virtual ~QPaintEngine ()
 
virtual bool begin (QPaintDevice *pdev)=0
 
virtual void drawEllipse (const QRectF &rect)
 
virtual void drawEllipse (const QRect &rect)
 
virtual void drawImage (const QRectF &rectangle, const QImage &image, const QRectF &sr, QFlags< Qt::ImageConversionFlag > flags)
 
virtual void drawLines (const QLine *lines, int lineCount)
 
virtual void drawLines (const QLineF *lines, int lineCount)
 
virtual void drawPath (const QPainterPath &path)
 
virtual void drawPixmap (const QRectF &r, const QPixmap &pm, const QRectF &sr)=0
 
virtual void drawPoints (const QPoint *points, int pointCount)
 
virtual void drawPoints (const QPointF *points, int pointCount)
 
virtual void drawPolygon (const QPointF *points, int pointCount, PolygonDrawMode mode)
 
virtual void drawPolygon (const QPoint *points, int pointCount, PolygonDrawMode mode)
 
virtual void drawRects (const QRectF *rects, int rectCount)
 
virtual void drawRects (const QRect *rects, int rectCount)
 
virtual void drawTextItem (const QPointF &p, const QTextItem &textItem)
 
virtual void drawTiledPixmap (const QRectF &rect, const QPixmap &pixmap, const QPointF &p)
 
virtual bool end ()=0
 
bool hasFeature (QFlags< QPaintEngine::PaintEngineFeature > feature) const
 
bool isActive () const
 
QPaintDevicepaintDevice () const
 
QPainterpainter () const
 
void setActive (bool state)
 
virtual Type type () const=0
 
virtual void updateState (const QPaintEngineState &state)=0
 

Static Public Member Functions

static void fixEngineFlags (QPaintEngine *engine)
 

Additional Inherited Members

- Public Attributes inherited from QPaintEngine
typedef DirtyFlags
 
typedef PaintEngineFeatures
 

Detailed Description

Hack to workaround Qt #5114 by disabling PatternTransform.

Definition at line 22 of file qgspaintenginehack.h.

Member Function Documentation

◆ fixEngineFlags()

void QgsPaintEngineHack::fixEngineFlags ( QPaintEngine engine)
static

Definition at line 46 of file qgspaintenginehack.cpp.

◆ fixFlags()

void QgsPaintEngineHack::fixFlags ( )

Definition at line 21 of file qgspaintenginehack.cpp.


The documentation for this class was generated from the following files: