66 void renderFeature( QPainter* p,
QgsFeature& f, QImage* img,
bool selected,
double widthScale = 1.0,
double rasterScaleFactor = 1.0 )
72 renderFeature( r, f, img, selected );
79 renderFeature( renderContext, f, pic, selected, 1.0 );
88 virtual int readXML(
const QDomNode& rnode,
QgsVectorLayer& vl ) = 0;
94 virtual bool writeXML( QDomNode & layer_node, QDomDocument & document,
const QgsVectorLayer& vl )
const = 0;
96 virtual bool needsAttributes()
const = 0;
100 virtual QString name()
const = 0;
102 virtual const QList<QgsSymbol*> symbols()
const = 0;
106 static void setSelectionColor( QColor color );
108 static QColor selectionColor();
110 virtual bool containsPixmap()
const;
120 static void scaleBrush( QBrush& b,
double rasterScaleFactor );
131 #endif // QGSRENDERER_H