Skip to content
Permalink
Browse files

Add SIP bindings for composer item blend mode and transparency

  • Loading branch information
nyalldawson committed Apr 22, 2013
1 parent cbea2d4 commit 13d7ced401f96a07a298c54dba5f87cbca8d48d8
Showing with 14 additions and 0 deletions.
  1. +14 −0 python/core/composer/qgscomposeritem.sip
@@ -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 );

0 comments on commit 13d7ced

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