mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Use setCoordinateTransform instead of setCoordTransform
git-svn-id: http://svn.osgeo.org/qgis/trunk@9540 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
6eb5e8ce1a
commit
7bd5e8dfa0
@ -33,7 +33,7 @@ class QgsRenderContext
|
||||
//setters
|
||||
|
||||
/**Sets coordinate transformation. QgsRenderContext takes ownership and deletes if necessary*/
|
||||
void setCoordTransform(QgsCoordinateTransform* t);
|
||||
void setCoordinateTransform(QgsCoordinateTransform* t);
|
||||
void setMapToPixel(const QgsMapToPixel& mtp);
|
||||
void setExtent(const QgsRect& extent);
|
||||
void setDrawEditingInformation(bool b);
|
||||
|
@ -231,7 +231,7 @@ void QgsMapRenderer::render( QPainter* painter )
|
||||
|
||||
mRenderContext.setDrawEditingInformation( !mOverview );
|
||||
mRenderContext.setPainter( painter );
|
||||
mRenderContext.setCoordTransform( 0 );
|
||||
mRenderContext.setCoordinateTransform( 0 );
|
||||
//this flag is only for stopping during the current rendering progress,
|
||||
//so must be false at every new render operation
|
||||
mRenderContext.setRenderingStopped( false );
|
||||
@ -313,7 +313,7 @@ void QgsMapRenderer::render( QPainter* painter )
|
||||
ct = NULL;
|
||||
}
|
||||
|
||||
mRenderContext.setCoordTransform( ct );
|
||||
mRenderContext.setCoordinateTransform( ct );
|
||||
|
||||
//decide if we have to scale the raster
|
||||
//this is necessary in case QGraphicsScene is used
|
||||
@ -407,7 +407,7 @@ void QgsMapRenderer::render( QPainter* painter )
|
||||
ct = NULL;
|
||||
}
|
||||
|
||||
mRenderContext.setCoordTransform( ct );
|
||||
mRenderContext.setCoordinateTransform( ct );
|
||||
|
||||
ml->drawLabels( mRenderContext );
|
||||
if ( split )
|
||||
|
@ -28,7 +28,7 @@ QgsRenderContext::~QgsRenderContext()
|
||||
delete mCoordTransform;
|
||||
}
|
||||
|
||||
void QgsRenderContext::setCoordTransform( QgsCoordinateTransform* t )
|
||||
void QgsRenderContext::setCoordinateTransform( QgsCoordinateTransform* t )
|
||||
{
|
||||
delete mCoordTransform;
|
||||
mCoordTransform = t;
|
||||
|
@ -59,7 +59,7 @@ class CORE_EXPORT QgsRenderContext
|
||||
//setters
|
||||
|
||||
/**Sets coordinate transformation. QgsRenderContext takes ownership and deletes if necessary*/
|
||||
void setCoordTransform( QgsCoordinateTransform* t );
|
||||
void setCoordinateTransform( QgsCoordinateTransform* t );
|
||||
void setMapToPixel( const QgsMapToPixel& mtp ) {mMapToPixel = mtp;}
|
||||
void setExtent( const QgsRect& extent ) {mExtent = extent;}
|
||||
void setDrawEditingInformation( bool b ) {mDrawEditingInformation = b;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user