mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
Get rid of more QgsMapToPixel refs
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2543 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
54b9562524
commit
b78357ada3
@ -25,7 +25,6 @@
|
||||
#include <cpl_error.h>
|
||||
|
||||
class QgsPoint;
|
||||
class QPoint;
|
||||
class QString;
|
||||
|
||||
/*! \class QgsCoordinateTransform
|
||||
@ -85,16 +84,16 @@ inline QgsCoordinateTransform::QgsCoordinateTransform( QString theSourceWKT, QSt
|
||||
//Searchf for this phrase in each wkt: "unit[\"degree\""
|
||||
}
|
||||
|
||||
inline QgsMapToPixel::~QgsMapToPixel()
|
||||
inline QgsCoordinateTransform::~QgsCoordinateTransform()
|
||||
{
|
||||
delete gSourceToDestXForm;
|
||||
}
|
||||
inline QgsPoint QgsMapToPixel::transform(double x, double y)
|
||||
inline QgsPoint QgsCoordinateTransform::transform(double x, double y)
|
||||
{
|
||||
return (transform(QgsPoint(x, y)));
|
||||
}
|
||||
|
||||
inline QgsPoint QgsMapToPixel::transform(QgsPoint thePoint) throws QgsCsException
|
||||
inline QgsPoint QgsCoordinateTransform::transform(QgsPoint thePoint) throws QgsCsException
|
||||
{
|
||||
// transform x
|
||||
double x = thePoint.x();
|
||||
@ -109,7 +108,7 @@ inline QgsPoint QgsMapToPixel::transform(QgsPoint thePoint) throws QgsCsExceptio
|
||||
return QgsPoint(x, y);
|
||||
}
|
||||
}
|
||||
inline QgsPoint QgsMapToPixel::transform(double theX, double theY)
|
||||
inline QgsPoint QgsCoordinateTransform::transform(double theX, double theY)
|
||||
{
|
||||
// transform x
|
||||
double x = theX;
|
||||
|
Loading…
x
Reference in New Issue
Block a user