Skip to content

Commit

Permalink
Merge pull request #547 from nyalldawson/blend_modes_sip
Browse files Browse the repository at this point in the history
Add sip bindings for layer blend modes
  • Loading branch information
nyalldawson committed Apr 22, 2013
2 parents 269a419 + 2298cae commit cbea2d4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions python/core/qgsmaplayer.sip
Expand Up @@ -306,6 +306,13 @@ class QgsMapLayer : QObject
* @note This method was added in QGIS 1.4 **/
void setCacheImage( QImage * thepImage /Transfer/ );

/* Returns the current blending mode for a layer
@note added in version 1.9*/
const QPainter::CompositionMode blendMode() const;
/* Sets the blending mode for a layer
@note added in version 1.9*/
void setBlendMode( const QPainter::CompositionMode blendMode );

public slots:

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

0 comments on commit cbea2d4

Please sign in to comment.