Skip to content

Commit 2298cae

Browse files
committedApr 22, 2013
Add sip bindings for layer blend modes
1 parent 956e18d commit 2298cae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎python/core/qgsmaplayer.sip

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,13 @@ class QgsMapLayer : QObject
306306
* @note This method was added in QGIS 1.4 **/
307307
void setCacheImage( QImage * thepImage /Transfer/ );
308308

309+
/* Returns the current blending mode for a layer
310+
@note added in version 1.9*/
311+
const QPainter::CompositionMode blendMode() const;
312+
/* Sets the blending mode for a layer
313+
@note added in version 1.9*/
314+
void setBlendMode( const QPainter::CompositionMode blendMode );
315+
309316
public slots:
310317

311318
/** Event handler for when a coordinate transform fails due to bad vertex error */

0 commit comments

Comments
 (0)
Please sign in to comment.