42 QgsMapToPixel(
double mapUnitsPerPixel = 0,
double ymax = 0,
double ymin = 0,
58 QgsPoint transform(
double x,
double y )
const;
68 void transformInPlace(
double& x,
double& y )
const;
70 void transformInPlace( qreal& x, qreal& y )
const;
78 void transformInPlace( QVector<double>& x, QVector<double>& y )
const;
81 void transformInPlace(
float& x,
float& y )
const;
82 void transformInPlace( QVector<float>& x, QVector<float>& y )
const;
85 QgsPoint toMapCoordinates(
int x,
int y )
const;
89 QgsPoint toMapCoordinatesF(
double x,
double y )
const;
95 QgsPoint toMapCoordinates( QPoint p )
const;
97 QgsPoint toMapPoint(
double x,
double y )
const;
101 void setMapUnitsPerPixel(
double mapUnitsPerPixel );
104 double mapUnitsPerPixel()
const;
107 void setYMaximum(
double ymax );
109 void setYMinimum(
double ymin );
111 void setXMinimum(
double xmin );
118 void setParameters(
double mapUnitsPerPixel,
double xmin,
double ymin,
double ymax );
120 QString showParameters();
130 #endif // QGSMAPTOPIXEL
Perform transforms between map coordinates and device coordinates.
A class to represent a point geometry.