Skip to content

Commit

Permalink
Inverted polygon renderer: update SIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Mercier committed May 27, 2014
1 parent 9d49422 commit 3853fc2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions python/core/symbology-ng/qgsinvertedpolygonrenderer.sip
Expand Up @@ -67,4 +67,14 @@ class QgsInvertedPolygonRenderer : public QgsFeatureRendererV2
/** @returns the current embedded renderer
*/
const QgsFeatureRendererV2* embeddedRenderer() const;
/** @returns true if the geometries are to be preprocessed (merged with an union) before rendering.*/

bool preprocessingEnabled() const;
/**
@param enabled enables or disables the preprocessing.
When enabled, geometries will be merged with an union before being rendered.
It allows to fix some rendering artefacts (when rendering overlapping polygons for instance).
This will involve some CPU-demanding computations and is thus disabled by default.
*/
void setPreprocessingEnabled( bool enabled );
};

0 comments on commit 3853fc2

Please sign in to comment.