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;
88 QgsPoint toMapCoordinatesF(
double x,
double y )
const;
94 QgsPoint toMapCoordinates( QPoint p )
const;
96 QgsPoint toMapPoint(
double x,
double y )
const;
100 void setMapUnitsPerPixel(
double mapUnitsPerPixel );
103 double mapUnitsPerPixel()
const;
106 void setYMaximum(
double ymax );
108 void setYMinimum(
double ymin );
110 void setXMinimum(
double xmin );
117 void setParameters(
double mapUnitsPerPixel,
double xmin,
double ymin,
double ymax );
119 QString showParameters();
122 double mMapUnitsPerPixel;
129 #endif // QGSMAPTOPIXEL