17#ifndef QGSTRANSFORMEFFECT_H
18#define QGSTRANSFORMEFFECT_H
50 QString
type()
const override {
return QStringLiteral(
"transform" ); }
149 double scaleX()
const {
return mScaleX; }
164 double scaleY()
const {
return mScaleY; }
192 double shearX()
const {
return mShearX; }
208 double shearY()
const {
return mShearY; }
249 double mTranslateX = 0.0;
250 double mTranslateY = 0.0;
253 double mScaleX = 1.0;
254 double mScaleY = 1.0;
255 double mRotation = 0.0;
256 double mShearX = 0.0;
257 double mShearY = 0.0;
258 bool mReflectX =
false;
259 bool mReflectY =
false;
RenderUnit
Rendering size units.
@ Millimeters
Millimeters.
Struct for storing maximum and minimum scales for measurements in map units.
virtual void readProperties(const QVariantMap &props)=0
Reads a string map of an effect's properties and restores the effect to the state described by the pr...
virtual QgsPaintEffect * clone() const =0
Duplicates an effect by creating a deep copy of the effect.
virtual QRectF boundingRect(const QRectF &rect, const QgsRenderContext &context) const
Returns the bounding rect required for drawing the effect.
virtual QVariantMap properties() const =0
Returns the properties describing the paint effect encoded in a string format.
virtual void draw(QgsRenderContext &context)=0
Handles drawing of the effect's result on to the specified render context.
Contains information about the context of a rendering operation.
#define SIP_NODEFAULTCTORS