18 #ifndef QGSRENDERCONTEXT_H
19 #define QGSRENDERCONTEXT_H
130 bool mDrawEditingInformation;
135 bool mForceVectorOutput;
138 bool mUseAdvancedEffects;
143 bool mRenderingStopped;
149 double mRasterScaleFactor;
152 double mRendererScale;
164 bool mUseRenderingOptimization;
void setForceVectorOutput(bool force)
void setRenderingStopped(bool stopped)
A rectangle specified with double values.
QColor selectionColor() const
const QgsVectorSimplifyMethod & vectorSimplifyMethod() const
Added in QGIS v2.4.
double rendererScale() const
void setRendererScale(double scale)
void setVectorSimplifyMethod(const QgsVectorSimplifyMethod &simplifyMethod)
const QgsRectangle & extent() const
bool showSelection() const
Returns true if vector selections should be shown in the rendered map.
double scaleFactor() const
const QgsCoordinateTransform * coordinateTransform() const
const QPainter * constPainter() const
void setExtent(const QgsRectangle &extent)
The QgsMapSettings class contains configuration for rendering of the map.
bool useAdvancedEffects() const
Returns true if advanced effects such as blend modes such be used.
Perform transforms between map coordinates and device coordinates.
void setSelectionColor(const QColor &color)
void setUseAdvancedEffects(bool enabled)
Used to enable or disable advanced effects such as blend modes.
void setScaleFactor(double factor)
bool renderingStopped() const
void setDrawEditingInformation(bool b)
bool forceVectorOutput() const
void setPainter(QPainter *p)
double rasterScaleFactor() const
bool useRenderingOptimization() const
Returns true if the rendering optimization (geometry simplification) can be executed.
bool drawEditingInformation() const
This class contains information how to simplify geometries fetched from a vector layer.
Contains information about the context of a rendering operation.
void setLabelingEngine(QgsLabelingEngineInterface *iface)
void setMapToPixel(const QgsMapToPixel &mtp)
void setUseRenderingOptimization(bool enabled)
const QgsMapToPixel & mapToPixel() const
void setRasterScaleFactor(double factor)
Labeling engine interface.
void setShowSelection(const bool showSelection)
Sets whether vector selections should be shown in the rendered map.
QgsLabelingEngineInterface * labelingEngine() const