18 #ifndef QGSRENDERCONTEXT_H
19 #define QGSRENDERCONTEXT_H
void setForceVectorOutput(bool force)
Added in QGIS v1.5.
QPainter * mPainter
Painter for rendering operations.
void setRenderingStopped(bool stopped)
A rectangle specified with double values.
bool mDrawEditingInformation
True if vertex markers for editing should be drawn.
QgsLabelingEngineInterface * mLabelingEngine
Labeling engine (can be NULL)
QColor selectionColor() const
Added in QGIS v2.0.
double rendererScale() const
void setRendererScale(double scale)
const QgsRectangle & extent() const
bool mUseRenderingOptimization
True if the rendering optimization (geometry simplification) can be executed.
double scaleFactor() const
const QgsCoordinateTransform * coordinateTransform() const
const QPainter * constPainter() const
void setExtent(const QgsRectangle &extent)
bool useAdvancedEffects() const
Returns true if advanced effects such as blend modes such be used.
double mRendererScale
Map scale.
Perform transforms between map coordinates and device coordinates.
void setSelectionColor(const QColor &color)
Added in QGIS v2.0.
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 mUseAdvancedEffects
Flag if advanced visual effects such as blend modes should be used.
bool forceVectorOutput() const
void setPainter(QPainter *p)
double rasterScaleFactor() const
bool useRenderingOptimization() const
Returns true if the rendering optimization (geometry simplification) can be executed.
double mScaleFactor
Factor to scale line widths and point marker sizes.
bool drawEditingInformation() const
const QgsCoordinateTransform * mCoordTransform
For transformation between coordinate systems.
QgsMapToPixel mMapToPixel
Contains information about the context of a rendering operation.
bool mRenderingStopped
True if the rendering has been canceled.
void setLabelingEngine(QgsLabelingEngineInterface *iface)
Added in QGIS v1.4.
void setMapToPixel(const QgsMapToPixel &mtp)
void setUseRenderingOptimization(bool enabled)
const QgsMapToPixel & mapToPixel() const
double mRasterScaleFactor
Factor to scale rasters.
void setRasterScaleFactor(double factor)
QColor mSelectionColor
Color used for features that are marked as selected.
Labeling engine interface.
QgsLabelingEngineInterface * labelingEngine() const
Added in QGIS v1.4.
bool mForceVectorOutput
If true then no rendered vector elements should be cached as image.