Skip to content

Commit

Permalink
PyQGIS: added new destination CRS methods, deprecated old ones.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@15619 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 27, 2011
1 parent c2c233e commit f760d01
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions python/core/qgsmaprenderer.sip
Expand Up @@ -139,11 +139,23 @@ class QgsMapRenderer : QObject
//! returns true if projections are enabled for this layer set
bool hasCrsTransformEnabled();

//! sets destination spatial reference system
void setDestinationSrs(const QgsCoordinateReferenceSystem& srs);

//! returns CRS ID of destination spatial reference system
const QgsCoordinateReferenceSystem& destinationSrs();
/** sets destination coordinate reference system
* @note deprecated by qgis 1.7
* @see setDestinationCrs
*/
void setDestinationSrs( const QgsCoordinateReferenceSystem& srs ) /Deprecated/;

/** returns CRS of destination coordinate reference system
* @note deprecated by qgis 1.7
* @see destinationCrs
*/
const QgsCoordinateReferenceSystem& destinationSrs() /Deprecated/;

//! sets destination coordinate reference system
void setDestinationCrs( const QgsCoordinateReferenceSystem& crs );

//! returns CRS of destination coordinate reference system
const QgsCoordinateReferenceSystem& destinationCrs();

void setOutputUnits( OutputUnits u );

Expand Down

0 comments on commit f760d01

Please sign in to comment.