QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsEffectPainter Class Reference

A class to manager 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.
 

Detailed Description

A class to manager painter saving and restoring required for effect drawing.

Definition at line 390 of file qgspainteffect.h.

Constructor & Destructor Documentation

◆ QgsEffectPainter() [1/2]

QgsEffectPainter::QgsEffectPainter ( QgsRenderContext renderContext)

QgsEffectPainter constructor.

Parameters
renderContextthe QgsRenderContext object

Definition at line 271 of file qgspainteffect.cpp.

◆ QgsEffectPainter() [2/2]

QgsEffectPainter::QgsEffectPainter ( QgsRenderContext renderContext,
QgsPaintEffect effect 
)

QgsEffectPainter constructor alternative if no painter translation is needed.

Parameters
renderContextthe QgsRenderContext object
effectthe QgsPaintEffect object

Definition at line 279 of file qgspainteffect.cpp.

◆ ~QgsEffectPainter()

QgsEffectPainter::~QgsEffectPainter ( )

Definition at line 296 of file qgspainteffect.cpp.

Member Function Documentation

◆ setEffect()

void QgsEffectPainter::setEffect ( QgsPaintEffect effect)

Sets the effect to be painted.

Parameters
effectthe QgsPaintEffect object

Definition at line 288 of file qgspainteffect.cpp.


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