17#ifndef QGSTRANSFORMEFFECT_H 
   18#define QGSTRANSFORMEFFECT_H 
   49    QString 
type()
 const override { 
return QStringLiteral( 
"transform" ); }
 
   62    void setTranslateX( const 
double translateX ) { mTranslateX = translateX; }
 
   82    void setTranslateY( 
const double translateY ) { mTranslateY = translateY; }
 
  140    void setScaleX( 
const double scaleX ) { mScaleX = scaleX; }
 
  148    double scaleX()
 const { 
return mScaleX; }
 
  155    void setScaleY( 
const double scaleY ) { mScaleY = scaleY; }
 
  163    double scaleY()
 const { 
return mScaleY; }
 
  169    void setRotation( 
const double rotation ) { mRotation = rotation; }
 
  183    void setShearX( 
const double shearX ) { mShearX = shearX; }
 
  191    double shearX()
 const { 
return mShearX; }
 
  199    void setShearY( 
const double shearY ) { mShearY = shearY; }
 
  207    double shearY()
 const { 
return mShearY; }
 
  248    double mTranslateX = 0.0;
 
  249    double mTranslateY = 0.0;
 
  252    double mScaleX = 1.0;
 
  253    double mScaleY = 1.0;
 
  254    double mRotation = 0.0;
 
  255    double mShearX = 0.0;
 
  256    double mShearY = 0.0;
 
  257    bool mReflectX = 
false;
 
  258    bool mReflectY = 
false;
 
 
RenderUnit
Rendering size units.
 
@ Millimeters
Millimeters.
 
Struct for storing maximum and minimum scales for measurements in map units.
 
Base class for visual effects which can be applied to QPicture drawings.
 
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