Public Member Functions |
| QgsFillSymbolV2 (QgsSymbolLayerV2List layers=QgsSymbolLayerV2List()) |
void | setAngle (double angle) |
void | renderPolygon (const QPolygonF &points, QList< QPolygonF > *rings, const QgsFeature *f, QgsRenderContext &context, int layer=-1, bool selected=false) |
virtual QgsSymbolV2 * | clone () const |
virtual | ~QgsSymbolV2 () |
SymbolType | type () const |
QgsSymbolLayerV2 * | symbolLayer (int layer) |
int | symbolLayerCount () |
bool | insertSymbolLayer (int index, QgsSymbolLayerV2 *layer) |
| insert symbol layer to specified index
|
bool | appendSymbolLayer (QgsSymbolLayerV2 *layer) |
| append symbol layer at the end of the list
|
bool | deleteSymbolLayer (int index) |
| delete symbol layer at specified index
|
QgsSymbolLayerV2 * | takeSymbolLayer (int index) |
| remove symbol layer from the list and return pointer to it
|
bool | changeSymbolLayer (int index, QgsSymbolLayerV2 *layer) |
| delete layer at specified index and set a new one
|
void | startRender (QgsRenderContext &context, const QgsFields *fields=0) |
void | stopRender (QgsRenderContext &context) |
void | setColor (const QColor &color) |
QColor | color () const |
void | drawPreviewIcon (QPainter *painter, QSize size, QgsRenderContext *customContext=0) |
| Draw icon of the symbol that occupyies area given by size using the painter.
|
QImage | asImage (QSize size, QgsRenderContext *customContext=0) |
QImage | bigSymbolPreviewImage () |
QString | dump () const |
void | toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) const |
QgsSymbolV2::OutputUnit | outputUnit () const |
void | setOutputUnit (QgsSymbolV2::OutputUnit u) |
QgsMapUnitScale | mapUnitScale () const |
void | setMapUnitScale (const QgsMapUnitScale &scale) |
qreal | alpha () const |
| Get alpha transparency 1 for opaque, 0 for invisible.
|
void | setAlpha (qreal alpha) |
| Set alpha transparency 1 for opaque, 0 for invisible.
|
void | setRenderHints (int hints) |
int | renderHints () const |
QSet< QString > | usedAttributes () const |
void | setLayer (const QgsVectorLayer *layer) |
const QgsVectorLayer * | layer () const |