QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
17 #ifndef QGSEFFECTSTACK_H
18 #define QGSEFFECTSTACK_H
20 #include "qgis_core.h"
79 QString
type()
const override {
return QStringLiteral(
"effectStack" ); }
81 bool saveProperties( QDomDocument &doc, QDomElement &element ) const override;
82 bool readProperties( const QDomElement &element ) override;
92 void readProperties( const
QgsStringMap &props ) override;
136 int count()
const {
return mEffectList.count(); }
156 QList< QgsPaintEffect * > mEffectList;
161 #endif // QGSEFFECTSTACK_H
QString type() const override
Returns the effect type.
virtual QgsPaintEffect * clone() const =0
Duplicates an effect by creating a deep copy of the effect.
friend class QgsEffectStack
#define SIP_NODEFAULTCTORS
QMap< QString, QString > QgsStringMap
Base class for visual effects which can be applied to QPicture drawings.
virtual void draw(QgsRenderContext &context)=0
Handles drawing of the effect's result on to the specified render context.
A paint effect which consists of a stack of other chained paint effects.