#include <qgssymbolv2.h>
Definition at line 353 of file qgssymbolv2.h.
◆ QgsSymbolV2RenderContext()
◆ ~QgsSymbolV2RenderContext()
QgsSymbolV2RenderContext::~QgsSymbolV2RenderContext |
( |
| ) |
|
◆ alpha()
qreal QgsSymbolV2RenderContext::alpha |
( |
| ) |
const |
|
inline |
Get alpha transparency 1 for opaque, 0 for invisible.
Definition at line 376 of file qgssymbolv2.h.
◆ expressionContextScope()
This scope is always available when a symbol of this type is being rendered.
- Returns
- An expression scope for details about this symbol
Definition at line 1122 of file qgssymbolv2.cpp.
◆ feature()
const QgsFeature* QgsSymbolV2RenderContext::feature |
( |
| ) |
const |
|
inline |
Current feature being rendered - may be null.
Definition at line 388 of file qgssymbolv2.h.
◆ fields()
const QgsFields* QgsSymbolV2RenderContext::fields |
( |
| ) |
const |
|
inline |
Fields of the layer.
Currently only available in startRender() calls to allow symbols with data-defined properties prepare the expressions (other times fields() returns null)
- Note
- added in 2.4
Definition at line 394 of file qgssymbolv2.h.
◆ geometryPartCount()
int QgsSymbolV2RenderContext::geometryPartCount |
( |
| ) |
const |
|
inline |
Part count of current geometry.
- Note
- added in QGIS 2.16
Definition at line 399 of file qgssymbolv2.h.
◆ geometryPartNum()
int QgsSymbolV2RenderContext::geometryPartNum |
( |
| ) |
const |
|
inline |
Part number of current geometry.
- Note
- added in QGIS 2.16
Definition at line 408 of file qgssymbolv2.h.
◆ mapUnitScale()
◆ operator=()
◆ outputLineWidth()
double QgsSymbolV2RenderContext::outputLineWidth |
( |
double |
width | ) |
const |
◆ outputPixelSize()
double QgsSymbolV2RenderContext::outputPixelSize |
( |
double |
size | ) |
const |
◆ outputUnit()
◆ renderContext() [1/2]
◆ renderContext() [2/2]
◆ renderHints()
int QgsSymbolV2RenderContext::renderHints |
( |
| ) |
const |
|
inline |
◆ selected()
bool QgsSymbolV2RenderContext::selected |
( |
| ) |
const |
|
inline |
◆ setAlpha()
void QgsSymbolV2RenderContext::setAlpha |
( |
qreal |
alpha | ) |
|
|
inline |
Set alpha transparency 1 for opaque, 0 for invisible.
Definition at line 378 of file qgssymbolv2.h.
◆ setExpressionContextScope()
Set an expression scope for this symbol.
Will take ownership.
- Parameters
-
contextScope | An expression scope for details about this symbol |
Definition at line 1127 of file qgssymbolv2.cpp.
◆ setFeature()
void QgsSymbolV2RenderContext::setFeature |
( |
const QgsFeature * |
f | ) |
|
|
inline |
◆ setGeometryPartCount()
void QgsSymbolV2RenderContext::setGeometryPartCount |
( |
int |
count | ) |
|
|
inline |
Sets the part count of current geometry.
- Note
- added in QGIS 2.16
Definition at line 403 of file qgssymbolv2.h.
◆ setGeometryPartNum()
void QgsSymbolV2RenderContext::setGeometryPartNum |
( |
int |
num | ) |
|
|
inline |
Sets the part number of current geometry.
- Note
- added in QGIS 2.16
Definition at line 412 of file qgssymbolv2.h.
◆ setMapUnitScale()
void QgsSymbolV2RenderContext::setMapUnitScale |
( |
const QgsMapUnitScale & |
scale | ) |
|
|
inline |
◆ setOriginalValueVariable()
void QgsSymbolV2RenderContext::setOriginalValueVariable |
( |
const QVariant & |
value | ) |
|
Sets the original value variable value for data defined symbology.
- Parameters
-
value | value for original value variable. This usually represents the symbol property value before any data defined overrides have been applied. |
- Note
- added in QGIS 2.12
Definition at line 1097 of file qgssymbolv2.cpp.
◆ setOutputUnit()
◆ setRenderHints()
void QgsSymbolV2RenderContext::setRenderHints |
( |
int |
hints | ) |
|
|
inline |
◆ setSelected()
void QgsSymbolV2RenderContext::setSelected |
( |
bool |
selected | ) |
|
|
inline |
The documentation for this class was generated from the following files:
- /tmp/buildd/qgis-2.18.21+99unstable/src/core/symbology-ng/qgssymbolv2.h
- /tmp/buildd/qgis-2.18.21+99unstable/src/core/symbology-ng/qgssymbolv2.cpp