16 #ifndef QGSMARKERSYMBOLLAYERV2_H
17 #define QGSMARKERSYMBOLLAYERV2_H
22 #define DEFAULT_SIMPLEMARKER_NAME "circle"
23 #define DEFAULT_SIMPLEMARKER_COLOR QColor(255,0,0)
24 #define DEFAULT_SIMPLEMARKER_BORDERCOLOR QColor(0,0,0)
25 #define DEFAULT_SIMPLEMARKER_SIZE DEFAULT_POINT_SIZE
26 #define DEFAULT_SIMPLEMARKER_ANGLE 0
65 QString
ogrFeatureStyle(
double mmScaleFactor,
double mapUnitScaleFactor )
const override;
67 QString
name()
const {
return mName; }
68 void setName( QString name ) { mName = name; }
74 void setOutlineStyle( Qt::PenStyle outlineStyle ) { mOutlineStyle = outlineStyle; }
110 bool prepareShape( QString name = QString() );
111 bool preparePath( QString name = QString() );
134 static const int mMaximumCacheWidth = 3000;
145 #define DEFAULT_SVGMARKER_NAME "/crosses/Star1.svg"
146 #define DEFAULT_SVGMARKER_SIZE 2*DEFAULT_POINT_SIZE
147 #define DEFAULT_SVGMARKER_ANGLE 0
178 QString
path()
const {
return mPath; }
179 void setPath( QString path );
181 QColor
fillColor()
const override {
return mFillColor; }
219 #define POINT2MM(x) ( (x) * 25.4 / 72 ) // point is 1/72 of inch
220 #define MM2POINT(x) ( (x) * 72 / 25.4 )
222 #define DEFAULT_FONTMARKER_FONT "Dingbats"
223 #define DEFAULT_FONTMARKER_CHR QChar('A')
224 #define DEFAULT_FONTMARKER_SIZE POINT2MM(12)
225 #define DEFAULT_FONTMARKER_COLOR QColor(Qt::black)
226 #define DEFAULT_FONTMARKER_ANGLE 0