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;
70 Qt::PenStyle
penStyle()
const {
return mPenStyle; }
79 double offset()
const {
return mOffset; }
80 void setOffset(
double offset ) { mOffset = offset; }
130 #define DEFAULT_MARKERLINE_ROTATE true
131 #define DEFAULT_MARKERLINE_INTERVAL 3
171 void setColor(
const QColor& color );
176 virtual void setWidth(
double width );
177 virtual double width()
const;
189 double offset()
const {
return mOffset; }
207 void renderPolylineVertex(
const QPolygonF& points,
QgsSymbolV2RenderContext& context, Placement placement = Vertex );
209 double markerAngle(
const QPolygonF& points,
bool isRing,
int vertex );