mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Update qgsmapcanvas.sip
This commit is contained in:
parent
f815ebc86b
commit
1317220a01
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user