|
| QgsSymbolRenderContext (const QgsSymbolRenderContext &rh)=delete |
| QgsSymbolRenderContext cannot be copied. More...
|
|
| QgsSymbolRenderContext (QgsRenderContext &c, QgsUnitTypes::RenderUnit u, qreal opacity=1.0, bool selected=false, Qgis::SymbolRenderHints renderHints=Qgis::SymbolRenderHints(), const QgsFeature *f=nullptr, const QgsFields &fields=QgsFields(), const QgsMapUnitScale &mapUnitScale=QgsMapUnitScale()) |
| Constructor for QgsSymbolRenderContext. More...
|
|
| ~QgsSymbolRenderContext () |
|
QgsExpressionContextScope * | expressionContextScope () |
| This scope is always available when a symbol of this type is being rendered. More...
|
|
const QgsFeature * | feature () const |
| Returns the current feature being rendered. More...
|
|
QgsFields | fields () const |
| Fields of the layer. More...
|
|
int | geometryPartCount () const |
| Part count of current geometry. More...
|
|
int | geometryPartNum () const |
| Part number of current geometry. More...
|
|
Q_DECL_DEPRECATED QgsMapUnitScale | mapUnitScale () const |
|
qreal | opacity () const |
| Returns the opacity for the symbol. More...
|
|
QgsSymbolRenderContext & | operator= (const QgsSymbolRenderContext &) |
|
QgsWkbTypes::GeometryType | originalGeometryType () const |
| Returns the geometry type for the original feature geometry being rendered. More...
|
|
Q_DECL_DEPRECATED double | outputLineWidth (double width) const |
|
Q_DECL_DEPRECATED double | outputPixelSize (double size) const |
|
Q_DECL_DEPRECATED QgsUnitTypes::RenderUnit | outputUnit () const |
| Returns the output unit for the context. More...
|
|
const QgsLegendPatchShape * | patchShape () const |
| Returns the symbol patch shape, to use if rendering symbol preview icons. More...
|
|
QgsRenderContext & | renderContext () |
| Returns a reference to the context's render context. More...
|
|
const QgsRenderContext & | renderContext () const |
| Returns a reference to the context's render context. More...
|
|
Qgis::SymbolRenderHints | renderHints () const |
| Returns the rendering hint flags for the symbol. More...
|
|
bool | selected () const |
| Returns true if symbols should be rendered using the selected symbol coloring and style. More...
|
|
void | setExpressionContextScope (QgsExpressionContextScope *contextScope) |
| Set an expression scope for this symbol. More...
|
|
void | setFeature (const QgsFeature *f) |
|
void | setGeometryPartCount (int count) |
| Sets the part count of current geometry. More...
|
|
void | setGeometryPartNum (int num) |
| Sets the part number of current geometry. More...
|
|
Q_DECL_DEPRECATED void | setMapUnitScale (const QgsMapUnitScale &scale) |
|
void | setOpacity (qreal opacity) |
| Sets the opacity for the symbol. More...
|
|
void | setOriginalGeometryType (QgsWkbTypes::GeometryType type) |
| Sets the geometry type for the original feature geometry being rendered. More...
|
|
void | setOriginalValueVariable (const QVariant &value) |
| Sets the original value variable value for data defined symbology. More...
|
|
Q_DECL_DEPRECATED void | setOutputUnit (QgsUnitTypes::RenderUnit u) |
| Sets the output unit for the context. More...
|
|
void | setPatchShape (const QgsLegendPatchShape &shape) |
| Sets the symbol patch shape, to use if rendering symbol preview icons. More...
|
|
void | setRenderHints (Qgis::SymbolRenderHints hints) |
| Sets rendering hint flags for the symbol. More...
|
|
void | setSelected (bool selected) |
| Sets whether symbols should be rendered using the selected symbol coloring and style. More...
|
|