Skip to content
Permalink
Browse files

Merge pull request #547 from nyalldawson/blend_modes_sip

Add sip bindings for layer blend modes
  • Loading branch information
nyalldawson committed Apr 22, 2013
2 parents 269a419 + 2298cae commit cbea2d4b3238cb0e229c470fc76392b57c32762e
Showing with 7 additions and 0 deletions.
  1. +7 −0 python/core/qgsmaplayer.sip
@@ -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 */

0 comments on commit cbea2d4

Please sign in to comment.
You can’t perform that action at this time.