Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[BACKPORT] added more missing python bindings for composer api
  • Loading branch information
timlinux committed Mar 2, 2012
1 parent fd7e03d commit 1a78f0b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions python/core/qgscomposershape.sip
Expand Up @@ -43,4 +43,13 @@ class QgsComposerShape: QgsComposerItem
QColor fillColor() const;
QgsComposerShape::Shape shapeType() const;
void setShapeType( QgsComposerShape::Shape s );
bool transparentFill() const;
void setTransparentFill( bool transparent );

/**Sets this items bound in scene coordinates such that 1 item size units
corresponds to 1 scene size unit. Also, the shape is scaled*/
void setSceneRect( const QRectF& rectangle );
public slots:
/**Sets item rotation and resizes item bounds such that the shape always has the same size*/
virtual void setRotation( double r );
};

0 comments on commit 1a78f0b

Please sign in to comment.