17 #ifndef QGSTRANSFORMEFFECT_H 
   18 #define QGSTRANSFORMEFFECT_H 
   20 #include "qgis_core.h" 
   53     QString 
type()
 const override { 
return QStringLiteral( 
"transform" ); }
 
   66     void setTranslateX( const 
double translateX ) { mTranslateX = translateX; }
 
   86     void setTranslateY( 
const double translateY ) { mTranslateY = translateY; }
 
  144     void setScaleX( 
const double scaleX ) { mScaleX = scaleX; }
 
  152     double scaleX()
 const { 
return mScaleX; }
 
  159     void setScaleY( 
const double scaleY ) { mScaleY = scaleY; }
 
  167     double scaleY()
 const { 
return mScaleY; }
 
  173     void setRotation( 
const double rotation ) { mRotation = rotation; }
 
  187     void setShearX( 
const double shearX ) { mShearX = shearX; }
 
  195     double shearX()
 const { 
return mShearX; }
 
  203     void setShearY( 
const double shearY ) { mShearY = shearY; }
 
  211     double shearY()
 const { 
return mShearY; }
 
  252     double mTranslateX = 0.0;
 
  253     double mTranslateY = 0.0;
 
  256     double mScaleX = 1.0;
 
  257     double mScaleY = 1.0;
 
  258     double mRotation = 0.0;
 
  259     double mShearX = 0.0;
 
  260     double mShearY = 0.0;
 
  261     bool mReflectX = 
false;
 
  262     bool mReflectY = 
false;
 
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.
RenderUnit
Rendering size units.
@ RenderMillimeters
Millimeters.
#define SIP_NODEFAULTCTORS