|
QGIS API Documentation 3.44.0-Solothurn (5d9ba037df1)
|
Manages painter saving and restoring required for effect drawing. More...
#include <qgspainteffect.h>
Public Member Functions | |
| QgsEffectPainter (QgsRenderContext &renderContext) | |
| QgsEffectPainter constructor. | |
| QgsEffectPainter (QgsRenderContext &renderContext, QgsPaintEffect *effect) | |
| QgsEffectPainter constructor alternative if no painter translation is needed. | |
| ~QgsEffectPainter () | |
| void | setEffect (QgsPaintEffect *effect) |
| Sets the effect to be painted. | |
Manages painter saving and restoring required for effect drawing.
Definition at line 399 of file qgspainteffect.h.
| QgsEffectPainter::QgsEffectPainter | ( | QgsRenderContext & | renderContext | ) |
QgsEffectPainter constructor.
| renderContext | the QgsRenderContext object |
Definition at line 277 of file qgspainteffect.cpp.
| QgsEffectPainter::QgsEffectPainter | ( | QgsRenderContext & | renderContext, |
| QgsPaintEffect * | effect | ||
| ) |
QgsEffectPainter constructor alternative if no painter translation is needed.
| renderContext | the QgsRenderContext object |
| effect | the QgsPaintEffect object |
Definition at line 285 of file qgspainteffect.cpp.
| QgsEffectPainter::~QgsEffectPainter | ( | ) |
Definition at line 302 of file qgspainteffect.cpp.
| void QgsEffectPainter::setEffect | ( | QgsPaintEffect * | effect | ) |
Sets the effect to be painted.
| effect | the QgsPaintEffect object |
Definition at line 294 of file qgspainteffect.cpp.