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
64 QString
ogrFeatureStyle(
double mmScaleFactor,
double mapUnitScaleFactor )
const;
76 Qt::PenStyle
penStyle()
const {
return mPenStyle; }
85 double offset()
const {
return mOffset; }
86 void setOffset(
double offset ) { mOffset = offset; }
144 #define DEFAULT_MARKERLINE_ROTATE true
145 #define DEFAULT_MARKERLINE_INTERVAL 3
187 void setColor(
const QColor& color );
192 virtual void setWidth(
double width );
193 virtual double width()
const;
205 double offset()
const {
return mOffset; }
281 void renderPolylineVertex(
const QPolygonF& points,
QgsSymbolV2RenderContext& context, Placement placement = Vertex );
283 double markerAngle(
const QPolygonF& points,
bool isRing,
int vertex );
310 void renderOffsetVertexAlongLine(
const QPolygonF& points,
int vertex,
double distance,
QgsSymbolV2RenderContext &context );