QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
|
A QGraphicsEffect subclass used for rendering layout items onto a scene with custom composition modes. More...
#include <qgslayouteffect.h>
Public Member Functions | |
QgsLayoutEffect ()=default | |
Constructor for QgsLayoutEffect. More... | |
QPainter::CompositionMode | compositionMode () const |
Returns the composition (blending) mode used for rendering the item. More... | |
void | setCompositionMode (QPainter::CompositionMode mode) |
Sets the composition (blending) mode used for rendering the item. More... | |
Protected Member Functions | |
void | draw (QPainter *painter) override |
A QGraphicsEffect subclass used for rendering layout items onto a scene with custom composition modes.
Definition at line 35 of file qgslayouteffect.h.
|
default |
Constructor for QgsLayoutEffect.
|
inline |
Returns the composition (blending) mode used for rendering the item.
Definition at line 58 of file qgslayouteffect.h.
|
overrideprotected |
Definition at line 22 of file qgslayouteffect.cpp.
void QgsLayoutEffect::setCompositionMode | ( | QPainter::CompositionMode | mode | ) |
Sets the composition (blending) mode used for rendering the item.
Definition at line 53 of file qgslayouteffect.cpp.