File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,17 +41,17 @@ class QgsMapCanvasItem : QGraphicsItem
41
41
//! @deprecated since v2.4 - not called by QgsMapCanvas anymore
42
42
void setPanningOffset( const QPoint& point ) /Deprecated/;
43
43
44
- //! returns canvas item rectangle
44
+ //! returns canvas item rectangle in map units
45
45
QgsRectangle rect() const;
46
46
47
- //! sets canvas item rectangle
47
+ //! sets canvas item rectangle in map units
48
48
void setRect( const QgsRectangle& r );
49
49
50
50
//! transformation from screen coordinates to map coordinates
51
- QgsPoint toMapCoordinates( const QPoint& point );
51
+ QgsPoint toMapCoordinates( const QPoint& point ) const ;
52
52
53
53
//! transformation from map coordinates to screen coordinates
54
- QPointF toCanvasCoordinates( const QgsPoint& point );
54
+ QPointF toCanvasCoordinates( const QgsPoint& point ) const ;
55
55
};
56
56
57
57
You can’t perform that action at this time.
0 commit comments