16 #ifndef QGSLINESYMBOLLAYERV2_H
17 #define QGSLINESYMBOLLAYERV2_H
26 #define DEFAULT_SIMPLELINE_COLOR QColor(0,0,0)
27 #define DEFAULT_SIMPLELINE_WIDTH DEFAULT_LINE_WIDTH
28 #define DEFAULT_SIMPLELINE_PENSTYLE Qt::SolidLine
29 #define DEFAULT_SIMPLELINE_JOINSTYLE Qt::BevelJoin
30 #define DEFAULT_SIMPLELINE_CAPSTYLE Qt::SquareCap
62 void toSld( QDomDocument &doc, QDomElement &element,
QgsStringMap props )
const override;
64 QString
ogrFeatureStyle(
double mmScaleFactor,
double mapUnitScaleFactor )
const override;
76 Qt::PenStyle
penStyle()
const {
return mPenStyle; }
134 #define DEFAULT_MARKERLINE_ROTATE true
135 #define DEFAULT_MARKERLINE_INTERVAL 3
175 void toSld( QDomDocument &doc, QDomElement &element,
QgsStringMap props )
const override;
177 void setColor(
const QColor& color )
override;
182 virtual void setWidth(
double width )
override;
183 virtual double width()
const override;
262 void renderPolylineVertex(
const QPolygonF& points,
QgsSymbolV2RenderContext& context, Placement placement = Vertex );
264 double markerAngle(
const QPolygonF& points,
bool isRing,
int vertex );
288 void renderOffsetVertexAlongLine(
const QPolygonF& points,
int vertex,
double distance,
QgsSymbolV2RenderContext &context );