Skip to content
Browse files
[BACKPORT] added more missing python bindings for composer api
  • Loading branch information
timlinux committed Mar 2, 2012
1 parent fd7e03d commit 1a78f0b15a1c343009b015b009a21374b1c1482b
Showing with 9 additions and 0 deletions.
  1. +9 −0 python/core/qgscomposershape.sip
@@ -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.