Update qgsmapcanvas.sip

This commit is contained in:
Marco Hugentobler 2016-01-04 10:33:07 +01:00
parent f815ebc86b
commit 1317220a01

View File

@ -543,6 +543,10 @@ class QgsMapCanvas : QGraphicsView
//! called when panning is in action, reset indicates end of panning
void moveCanvasContents( bool reset = false );
//! Zooms to feature extent. Adds a small margin around the extent
//! and does a pan if rect is empty (point extent)
void zoomToFeatureExtent( QgsRectangle& rect );
//! called on resize or changed extent to notify canvas items to change their rectangle
void updateCanvasItemPositions();