Skip to content

Commit 7b6f28c

Browse files
author
Sandro Santilli
committed
Specify that QgsMapCanvasItem::setRect/rect use map units
1 parent 2f75c3c commit 7b6f28c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gui/qgsmapcanvasitem.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ class GUI_EXPORT QgsMapCanvasItem : public QGraphicsItem
6565
//! @deprecated since v2.4 - not called by QgsMapCanvas anymore
6666
Q_DECL_DEPRECATED void setPanningOffset( const QPoint& point );
6767

68-
//! returns canvas item rectangle
68+
//! returns canvas item rectangle in map units
6969
QgsRectangle rect() const;
7070

71-
//! sets canvas item rectangle
71+
//! sets canvas item rectangle in map units
7272
void setRect( const QgsRectangle& r );
7373

7474
//! transformation from screen coordinates to map coordinates

0 commit comments

Comments
 (0)