Public Member Functions |
| QgsEllipseSymbolLayerV2 () |
| ~QgsEllipseSymbolLayerV2 () |
void | renderPoint (const QPointF &point, QgsSymbolV2RenderContext &context) |
QString | layerType () const |
void | startRender (QgsSymbolV2RenderContext &context) |
void | stopRender (QgsSymbolV2RenderContext &context) |
QgsSymbolLayerV2 * | clone () const |
QgsStringMap | properties () const |
void | toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) const |
void | writeSldMarker (QDomDocument &doc, QDomElement &element, QgsStringMap props) const |
bool | writeDxf (QgsDxfExport &e, double mmMapUnitScaleFactor, const QString &layerName, const QgsSymbolV2RenderContext *context, const QgsFeature *f, const QPointF &shift=QPointF(0.0, 0.0)) const |
void | setSymbolName (const QString &name) |
QString | symbolName () const |
void | setSymbolWidth (double w) |
double | symbolWidth () const |
void | setSymbolHeight (double h) |
double | symbolHeight () const |
Qt::PenStyle | outlineStyle () const |
void | setOutlineStyle (Qt::PenStyle outlineStyle) |
void | setOutlineWidth (double w) |
double | outlineWidth () const |
void | setFillColor (const QColor &c) |
| Set fill color.
|
QColor | fillColor () const |
| Get fill color.
|
void | setOutlineColor (const QColor &c) |
| Set outline color.
|
QColor | outlineColor () const |
| Get outline color.
|
void | setSymbolWidthUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | symbolWidthUnit () const |
void | setSymbolWidthMapUnitScale (const QgsMapUnitScale &scale) |
const QgsMapUnitScale & | symbolWidthMapUnitScale () const |
void | setSymbolHeightUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | symbolHeightUnit () const |
void | setSymbolHeightMapUnitScale (const QgsMapUnitScale &scale) |
const QgsMapUnitScale & | symbolHeightMapUnitScale () const |
void | setOutlineWidthUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | outlineWidthUnit () const |
void | setOutlineWidthMapUnitScale (const QgsMapUnitScale &scale) |
const QgsMapUnitScale & | outlineWidthMapUnitScale () const |
void | setOutputUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | outputUnit () const |
void | setMapUnitScale (const QgsMapUnitScale &scale) |
QgsMapUnitScale | mapUnitScale () const |
void | drawPreviewIcon (QgsSymbolV2RenderContext &context, QSize size) |
void | setAngle (double angle) |
double | angle () const |
void | setSize (double size) |
double | size () const |
void | setScaleMethod (QgsSymbolV2::ScaleMethod scaleMethod) |
QgsSymbolV2::ScaleMethod | scaleMethod () const |
void | setOffset (QPointF offset) |
QPointF | offset () |
void | setOffsetUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | offsetUnit () const |
void | setOffsetMapUnitScale (const QgsMapUnitScale &scale) |
const QgsMapUnitScale & | offsetMapUnitScale () const |
void | setSizeUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | sizeUnit () const |
void | setSizeMapUnitScale (const QgsMapUnitScale &scale) |
const QgsMapUnitScale & | sizeMapUnitScale () const |
void | setHorizontalAnchorPoint (HorizontalAnchorPoint h) |
HorizontalAnchorPoint | horizontalAnchorPoint () const |
void | setVerticalAnchorPoint (VerticalAnchorPoint v) |
VerticalAnchorPoint | verticalAnchorPoint () const |
virtual QColor | color () const |
virtual void | setColor (const QColor &color) |
virtual | ~QgsSymbolLayerV2 () |
virtual QString | ogrFeatureStyle (double mmScaleFactor, double mapUnitScaleFactor) const |
virtual QgsSymbolV2 * | subSymbol () |
virtual bool | setSubSymbol (QgsSymbolV2 *symbol) |
QgsSymbolV2::SymbolType | type () const |
void | setLocked (bool locked) |
bool | isLocked () const |
virtual double | estimateMaxBleed () const |
| Returns the estimated maximum distance which the layer style will bleed outside the drawn shape.
|
void | setRenderingPass (int renderingPass) |
int | renderingPass () const |
virtual QSet< QString > | usedAttributes () const |
virtual const QgsExpression * | dataDefinedProperty (const QString &property) const |
virtual QString | dataDefinedPropertyString (const QString &property) const |
virtual void | setDataDefinedProperty (const QString &property, const QString &expressionString) |
virtual void | removeDataDefinedProperty (const QString &property) |
virtual void | removeDataDefinedProperties () |
bool | hasDataDefinedProperties () const |
virtual double | dxfWidth (const QgsDxfExport &e, const QgsSymbolV2RenderContext &context) const |
virtual QColor | dxfColor (const QgsSymbolV2RenderContext &context) const |
virtual QVector< qreal > | dxfCustomDashPattern (QgsSymbolV2::OutputUnit &unit) const |
virtual Qt::PenStyle | dxfPenStyle () const |
virtual QColor | dxfBrushColor (const QgsSymbolV2RenderContext &context) const |
virtual Qt::BrushStyle | dxfBrushStyle () const |
Additional Inherited Members |
enum | HorizontalAnchorPoint { Left,
HCenter,
Right
} |
enum | VerticalAnchorPoint { Top,
VCenter,
Bottom
} |
| QgsMarkerSymbolLayerV2 (bool locked=false) |
void | markerOffset (const QgsSymbolV2RenderContext &context, double &offsetX, double &offsetY) const |
void | markerOffset (const QgsSymbolV2RenderContext &context, double width, double height, double &offsetX, double &offsetY) const |
void | markerOffset (const QgsSymbolV2RenderContext &context, double width, double height, QgsSymbolV2::OutputUnit widthUnit, QgsSymbolV2::OutputUnit heightUnit, double &offsetX, double &offsetY, const QgsMapUnitScale &widthMapUnitScale, const QgsMapUnitScale &heightMapUnitScale) const |
static QPointF | _rotatedOffset (const QPointF &offset, double angle) |
double | mAngle |
double | mSize |
QgsSymbolV2::OutputUnit | mSizeUnit |
QgsMapUnitScale | mSizeMapUnitScale |
QPointF | mOffset |
QgsSymbolV2::OutputUnit | mOffsetUnit |
QgsMapUnitScale | mOffsetMapUnitScale |
QgsSymbolV2::ScaleMethod | mScaleMethod |
HorizontalAnchorPoint | mHorizontalAnchorPoint |
VerticalAnchorPoint | mVerticalAnchorPoint |
static const bool | selectionIsOpaque = true |
static const bool | selectFillBorder = false |
static const bool | selectFillStyle = false |
A symbol layer for rendering objects with major and minor axis (e.g.
ellipse, rectangle )