15 #ifndef QGSINVERTEDPOLYGONRENDERER_H    16 #define QGSINVERTEDPOLYGONRENDERER_H    24 #include <QScopedPointer>   153     struct CombinedFeature
   160     FeatureCategoryVector mFeaturesCategories;
   177     struct FeatureDecoration
   183       FeatureDecoration( 
QgsFeature& a_feature, 
bool a_selected, 
bool a_drawMarkers, 
int a_layer ) :
   184           feature( a_feature ), selected( a_selected ), drawMarkers( a_drawMarkers ), layer( a_layer ) {}
   189     bool mPreprocessingEnabled;
   193 #endif // QGSMASKRENDERERV2_H 
virtual QString dump() const 
for debugging 
 
virtual Q_DECL_DEPRECATED QgsSymbolV2 * originalSymbolForFeature(QgsFeature &feature)
Return symbol for feature. 
 
virtual QDomElement save(QDomDocument &doc)
store renderer info to XML element 
 
Container of fields for a vector layer. 
 
virtual QList< QString > usedAttributes()=0
Returns a set of attributes required for this renderer. 
 
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
 
virtual Q_DECL_DEPRECATED bool willRenderFeature(QgsFeature &feat)
Returns whether the renderer will render a feature or not. 
 
virtual QgsLegendSymbologyList legendSymbologyItems(QSize iconSize)
return a list of symbology items for the legend 
 
virtual void startRender(QgsRenderContext &context, const QgsFields &fields)=0
Needs to be called when a new render cycle is started. 
 
virtual void stopRender(QgsRenderContext &context)=0
Needs to be called when a render cycle has finished to clean up. 
 
virtual Q_DECL_DEPRECATED QgsSymbolV2List originalSymbolsForFeature(QgsFeature &feat)
Equivalent of originalSymbolsForFeature() call extended to support renderers that may use more symbol...
 
virtual bool renderFeature(QgsFeature &feature, QgsRenderContext &context, int layer=-1, bool selected=false, bool drawVertexMarker=false)
Render a feature using this renderer in the given context. 
 
virtual QgsFeatureRendererV2 * clone() const =0
 
virtual Q_DECL_DEPRECATED QgsSymbolV2 * symbolForFeature(QgsFeature &feature)
To be overridden. 
 
QgsInvertedPolygonRenderer is a polygon-only feature renderer used to display features inverted...
 
virtual QgsLegendSymbolList legendSymbolItems(double scaleDenominator=-1, const QString &rule="")
return a list of item text / symbol 
 
void setPreprocessingEnabled(bool enabled)
 
bool preprocessingEnabled() const 
 
virtual Q_DECL_DEPRECATED QgsSymbolV2List symbols()
For symbol levels. 
 
Contains information about the context of a rendering operation. 
 
virtual Q_DECL_DEPRECATED QgsSymbolV2List symbolsForFeature(QgsFeature &feat)
Returns list of symbols used for rendering the feature. 
 
virtual int capabilities()
returns bitwise OR-ed capabilities of the renderer