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