Skip to content

Commit 3853fc2

Browse files
author
Hugo Mercier
committed
Inverted polygon renderer: update SIP
1 parent 9d49422 commit 3853fc2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

python/core/symbology-ng/qgsinvertedpolygonrenderer.sip

+10
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,14 @@ class QgsInvertedPolygonRenderer : public QgsFeatureRendererV2
6767
/** @returns the current embedded renderer
6868
*/
6969
const QgsFeatureRendererV2* embeddedRenderer() const;
70+
/** @returns true if the geometries are to be preprocessed (merged with an union) before rendering.*/
71+
72+
bool preprocessingEnabled() const;
73+
/**
74+
@param enabled enables or disables the preprocessing.
75+
When enabled, geometries will be merged with an union before being rendered.
76+
It allows to fix some rendering artefacts (when rendering overlapping polygons for instance).
77+
This will involve some CPU-demanding computations and is thus disabled by default.
78+
*/
79+
void setPreprocessingEnabled( bool enabled );
7080
};

0 commit comments

Comments
 (0)