#include <qgssymbolv2.h>
Definition at line 339 of file qgssymbolv2.h.
| QgsSymbolV2RenderContext::~QgsSymbolV2RenderContext |
( |
| ) |
|
| qreal QgsSymbolV2RenderContext::alpha |
( |
| ) |
const |
|
inline |
Get alpha transparency 1 for opaque, 0 for invisible.
Definition at line 362 of file qgssymbolv2.h.
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 991 of file qgssymbolv2.cpp.
| const QgsFeature* QgsSymbolV2RenderContext::feature |
( |
| ) |
const |
|
inline |
Current feature being rendered - may be null.
Definition at line 374 of file qgssymbolv2.h.
| const QgsFields* QgsSymbolV2RenderContext::fields |
( |
void |
| ) |
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 380 of file qgssymbolv2.h.
| double QgsSymbolV2RenderContext::outputLineWidth |
( |
double |
width | ) |
const |
| double QgsSymbolV2RenderContext::outputPixelSize |
( |
double |
size | ) |
const |
| int QgsSymbolV2RenderContext::renderHints |
( |
| ) |
const |
|
inline |
| bool QgsSymbolV2RenderContext::selected |
( |
| ) |
const |
|
inline |
| void QgsSymbolV2RenderContext::setAlpha |
( |
qreal |
alpha | ) |
|
|
inline |
Set alpha transparency 1 for opaque, 0 for invisible.
Definition at line 364 of file qgssymbolv2.h.
Set an expression scope for this symbol.
Will take ownership.
- Parameters
-
| contextScope | An expression scope for details about this symbol |
Definition at line 996 of file qgssymbolv2.cpp.
| void QgsSymbolV2RenderContext::setFeature |
( |
const QgsFeature * |
f | ) |
|
|
inline |
| void QgsSymbolV2RenderContext::setMapUnitScale |
( |
const QgsMapUnitScale & |
scale | ) |
|
|
inline |
| 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 966 of file qgssymbolv2.cpp.
| void QgsSymbolV2RenderContext::setRenderHints |
( |
int |
hints | ) |
|
|
inline |
| void QgsSymbolV2RenderContext::setSelected |
( |
bool |
selected | ) |
|
|
inline |
The documentation for this class was generated from the following files:
- /tmp/buildd/qgis-2.14.0+99unstable/src/core/symbology-ng/qgssymbolv2.h
- /tmp/buildd/qgis-2.14.0+99unstable/src/core/symbology-ng/qgssymbolv2.cpp