Skip to content

Commit

Permalink
Fix incorrect docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 15, 2024
1 parent ad03718 commit c817a62
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion python/PyQt6/core/auto_generated/qgsmaptopixel.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Transforms the point specified by x,y from map (world) coordinates to device coo

void transformInPlace( double &x, double &y ) const;
%Docstring
Transforms device coordinates to map coordinates.
Transforms map coordinates to device coordinates.

This method modifies the given coordinates in place. It is intended as a fast way to do the
transform.
Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/qgsmaptopixel.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Transforms the point specified by x,y from map (world) coordinates to device coo

void transformInPlace( double &x, double &y ) const;
%Docstring
Transforms device coordinates to map coordinates.
Transforms map coordinates to device coordinates.

This method modifies the given coordinates in place. It is intended as a fast way to do the
transform.
Expand Down
6 changes: 3 additions & 3 deletions src/core/qgsmaptopixel.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class CORE_EXPORT QgsMapToPixel
}

/**
* Transforms device coordinates to map coordinates.
* Transforms map coordinates to device coordinates.
*
* This method modifies the given coordinates in place. It is intended as a fast way to do the
* transform.
Expand All @@ -132,7 +132,7 @@ class CORE_EXPORT QgsMapToPixel
}

/**
* Transforms device coordinates to map coordinates.
* Transforms map coordinates to device coordinates.
*
* This method modifies the given coordinates in place. It is intended as a fast way to do the
* transform.
Expand All @@ -150,7 +150,7 @@ class CORE_EXPORT QgsMapToPixel
#ifndef SIP_RUN

/**
* Transforms device coordinates to map coordinates.
* Transforms map coordinates to device coordinates.
*
* This method modifies the given coordinates in place. It is intended as a fast way to do the
* transform.
Expand Down

0 comments on commit c817a62

Please sign in to comment.