QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
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

Public Member Functions

void fixFlags ()

Static Public Member Functions

static void fixEngineFlags (QPaintEngine *engine)

Detailed Description

Hack to workaround Qt #5114 by disabling PatternTransform.

This is not required for builds based on Qt 6.3 or later, or Qt 5.15 builds using KDE's maintained fork. On these versions the class has no effect.

Definition at line 28 of file qgspaintenginehack.h.

Member Function Documentation

◆ fixEngineFlags()

void QgsPaintEngineHack::fixEngineFlags ( QPaintEngine *  engine)

Definition at line 51 of file qgspaintenginehack.cpp.

◆ fixFlags()

void QgsPaintEngineHack::fixFlags ( )

Definition at line 22 of file qgspaintenginehack.cpp.

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