Skip to content

Commit

Permalink
Sipify
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 28, 2021
1 parent a290537 commit 6606471
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions python/core/auto_generated/qgsmaptopixel.sip.in
Expand Up @@ -9,6 +9,7 @@




class QgsMapToPixel
{
%Docstring
Expand Down Expand Up @@ -65,14 +66,17 @@ Use setParameters to fill

QgsPointXY transform( const QgsPointXY &p ) const;
%Docstring
Transform the point from map (world) coordinates to device coordinates
Transform the point ``p`` from map (world) coordinates to device coordinates.

:param p: Point to transform

:return: QgsPointXY in device coordinates
%End

void transform( QgsPointXY *p ) const;
%Docstring
Transform the point ``p`` from map (world) coordinates to device coordinates in place.
%End

QgsPointXY transform( qreal x, qreal y ) const;
%Docstring
Expand All @@ -87,7 +91,7 @@ coordinates to device coordinates

void transformInPlace( double &x, double &y ) const;
%Docstring
Transform device coordinates to map coordinates. Modifies the
Transforms device coordinates to map coordinates. Modifies the
given coordinates in place. Intended as a fast way to do the
transform.
%End
Expand Down Expand Up @@ -186,6 +190,9 @@ String representation of the parameters used in the transform
%End

QTransform transform() const;
%Docstring
Returns a QTransform encapsulating the map to pixel conversion.
%End

double xCenter() const;
%Docstring
Expand Down

0 comments on commit 6606471

Please sign in to comment.