18 #ifndef QGSLAYOUTEFFECT_H 19 #define QGSLAYOUTEFFECT_H 21 #include <QGraphicsEffect> 24 #include "qgis_core.h" 51 void setCompositionMode( QPainter::CompositionMode mode );
62 void draw( QPainter *painter )
override;
66 QPainter::CompositionMode mCompositionMode = QPainter::CompositionMode_SourceOver;
69 #endif // QGSLAYOUTEFFECT_H A QGraphicsEffect subclass used for rendering layout items onto a scene with custom composition modes...
QPainter::CompositionMode compositionMode() const
Returns the composition (blending) mode used for rendering the item.