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
61 QString
ogrFeatureStyle(
double mmScaleFactor,
double mapUnitScaleFactor )
const;
68 Qt::PenStyle
penStyle()
const {
return mPenStyle; }
77 double offset()
const {
return mOffset; }
78 void setOffset(
double offset ) { mOffset = offset; }
115 #define DEFAULT_MARKERLINE_ROTATE true
116 #define DEFAULT_MARKERLINE_INTERVAL 3
156 void setColor(
const QColor& color );
161 virtual void setWidth(
double width );
162 virtual double width()
const;
172 double offset()
const {
return mOffset; }
190 void renderPolylineVertex(
const QPolygonF& points,
QgsSymbolV2RenderContext& context, Placement placement = Vertex );
192 double markerAngle(
const QPolygonF& points,
bool isRing,
int vertex );