Skip to content

Commit

Permalink
Add SIP bindings for composer item blend mode and transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 22, 2013
1 parent cbea2d4 commit 13d7ced
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions python/core/composer/qgscomposeritem.sip
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,20 @@ class QgsComposerItem: QObject, QGraphicsRectItem
@note this method was added in version 2.0
@note there is not setter since one can't manually set the id*/
QString uuid() const;

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

/** Returns the composer item's transparency
@note added in version 1.9*/
const int transparency() const;
/** Sets the composer item's transparency
@note added in version 1.9*/
void setTransparency( const int transparency );

public slots:
virtual void setRotation( double r );
Expand Down

0 comments on commit 13d7ced

Please sign in to comment.