25 , mCoordTransform( 0 )
26 , mDrawEditingInformation( true )
27 , mForceVectorOutput( false )
28 , mUseAdvancedEffects( true )
29 , mRenderingStopped( false )
31 , mRasterScaleFactor( 1.0 )
32 , mRendererScale( 1.0 )
33 , mLabelingEngine( NULL )
34 , mShowSelection( true )
35 , mUseRenderingOptimization( true )
void setForceVectorOutput(bool force)
void setRenderingStopped(bool stopped)
double scale() const
Return the calculated scale of the map.
QColor selectionColor() const
Get color that is used for drawing of selected vector features.
void setSimplifyHints(SimplifyHints simplifyHints)
Sets the simplification hints of the vector layer managed.
void setRendererScale(double scale)
QgsRectangle visibleExtent() const
Return the actual extent derived from requested extent that takes takes output image size into accoun...
const QgsMapToPixel & mapToPixel() const
Enable layer transparency and blending effects.
void setExtent(const QgsRectangle &extent)
Vector graphics should not be cached and drawn as raster images.
The QgsMapSettings class contains configuration for rendering of the map.
void setCoordinateTransform(const QgsCoordinateTransform *t)
Sets coordinate transformation.
void setSelectionColor(const QColor &color)
No simplification can be applied.
int outputDpi() const
Return DPI used for conversion between real world units (e.g.
void setUseAdvancedEffects(bool enabled)
Used to enable or disable advanced effects such as blend modes.
void setScaleFactor(double factor)
Whether vector selections should be shown in the rendered map.
void setDrawEditingInformation(bool b)
Enable drawing of vertex markers for layers in editing mode.
bool testFlag(Flag flag) const
Check whether a particular flag is enabled.
Contains information about the context of a rendering operation.
static QgsRenderContext fromMapSettings(const QgsMapSettings &mapSettings)
create initialized QgsRenderContext instance from given QgsMapSettings
void setMapToPixel(const QgsMapToPixel &mtp)
void setUseRenderingOptimization(bool enabled)
Enable vector simplification and other rendering optimizations.
void setRasterScaleFactor(double factor)
void setShowSelection(const bool showSelection)
Sets whether vector selections should be shown in the rendered map.