Skip to content
Browse files
Specify that QgsMapCanvasItem::setRect/rect use map units
  • Loading branch information
Sandro Santilli committed Jan 2, 2015
1 parent 2f75c3c commit 7b6f28ce2f6614c4c0e6ce94bebc1b661585a22d
Showing 1 changed file with 2 additions and 2 deletions.
@@ -65,10 +65,10 @@ class GUI_EXPORT QgsMapCanvasItem : public QGraphicsItem
//! @deprecated since v2.4 - not called by QgsMapCanvas anymore
Q_DECL_DEPRECATED void setPanningOffset( const QPoint& point );

//! returns canvas item rectangle
//! returns canvas item rectangle in map units
QgsRectangle rect() const;

//! sets canvas item rectangle
//! sets canvas item rectangle in map units
void setRect( const QgsRectangle& r );

//! transformation from screen coordinates to map coordinates

0 comments on commit 7b6f28c

Please sign in to comment.