16 #ifndef QGSFILLSYMBOLLAYERV2_H
17 #define QGSFILLSYMBOLLAYERV2_H
21 #define DEFAULT_SIMPLEFILL_COLOR QColor(0,0,255)
22 #define DEFAULT_SIMPLEFILL_STYLE Qt::SolidPattern
23 #define DEFAULT_SIMPLEFILL_BORDERCOLOR QColor(0,0,0)
24 #define DEFAULT_SIMPLEFILL_BORDERSTYLE Qt::SolidLine
25 #define DEFAULT_SIMPLEFILL_BORDERWIDTH DEFAULT_LINE_WIDTH
60 QString
ogrFeatureStyle(
double mmScaleFactor,
double mapUnitScaleFactor )
const;
62 Qt::BrushStyle
brushStyle()
const {
return mBrushStyle; }
69 void setBorderStyle( Qt::PenStyle borderStyle ) { mBorderStyle = borderStyle; }
74 void setOffset( QPointF offset ) { mOffset = offset; }
159 void setSvgFilePath(
const QString& svgPath );
207 void setDefaultSvgParams();
210 void applyPattern( QBrush& brush,
const QString& svgFilePath,
double patternWidth,
QgsSymbolV2::OutputUnit patternWidthUnit,
const QColor& svgFillColor,
const QColor& svgOutlineColor,
247 double offset()
const {
return mOffset; }
279 void applyPattern(
const QgsSymbolV2RenderContext& context, QBrush& brush,
double lineAngle,
double distance,
double lineWidth,
const QColor& color );
349 double displacementX,
double displacementY );
379 void setColor(
const QColor& color );