77 DataDefinedSizeScale = 1,
78 DataDefinedRotation = 2
122 bool deleteSymbolLayer(
int index );
133 void setColor(
const QColor& color );
143 QImage bigSymbolPreviewImage();
158 qreal
alpha()
const {
return mAlpha; }
198 bool isSymbolLayerCompatible( SymbolType t );
231 qreal
alpha()
const {
return mAlpha; }
251 double outputLineWidth(
double width )
const;
252 double outputPixelSize(
double size )
const;
284 void setAngle(
double angle );
285 double angle()
const;
308 void setLineAngle(
double lineAngle );
310 void setSize(
double size );
353 void setWidth(
double width );
354 double width()
const;
392 void setAngle(
double angle );
void setClipFeaturesToExtent(bool clipFeaturesToExtent)
Sets whether features drawn by the symbol should be clipped to the render context's extent...
bool mClipFeaturesToExtent
A container class for data source field mapping or expression.
const QgsVectorLayer * mLayer
void setAlpha(qreal alpha)
Set alpha transparency 1 for opaque, 0 for invisible.
virtual QgsSymbolV2 * clone() const =0
QList< OutputUnit > OutputUnitList
double clipFeaturesToExtent() const
Returns whether features drawn by the symbol will be clipped to the render context's extent...
Base class for visual effects which can be applied to QPicture drawings.
Container of fields for a vector layer.
void setRenderHints(int hints)
QgsSymbolLayerV2List symbolLayers()
Returns list of symbol layers contained in the symbol.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
void setMapUnitScale(const QgsMapUnitScale &scale)
const QgsVectorLayer * layer() const
qreal alpha() const
Get alpha transparency 1 for opaque, 0 for invisible.
QgsSymbolLayerV2List mLayers
QgsMapUnitScale mapUnitScale() const
const QgsFeature * feature() const
Current feature being rendered - may be null.
qreal alpha() const
Get alpha transparency 1 for opaque, 0 for invisible.
void setLayer(const QgsVectorLayer *layer)
int symbolLayerCount()
Returns total number of symbol layers contained in the symbol.
qreal mAlpha
Symbol opacity (in the range 0 - 1)
void setFeature(const QgsFeature *f)
void setOutputUnit(QgsSymbolV2::OutputUnit u)
QgsSymbolV2::OutputUnit outputUnit() const
double ANALYSIS_EXPORT angle(Point3D *p1, Point3D *p2, Point3D *p3, Point3D *p4)
Calculates the angle between two segments (in 2 dimension, z-values are ignored)
void setSelected(bool selected)
Contains information about the context of a rendering operation.
QList< QgsSymbolLayerV2 * > QgsSymbolLayerV2List
QgsRenderContext & renderContext()
const QgsFields * fields() const
Fields of the layer.
void setRenderHints(int hints)
const QgsRenderContext & renderContext() const
Represents a vector layer which manages a vector based data sets.
void setAlpha(qreal alpha)
Set alpha transparency 1 for opaque, 0 for invisible.