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:
timlinux 2008-10-24 22:45:38 +00:00
parent 6eb5e8ce1a
commit 7bd5e8dfa0
4 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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 )

View File

@ -28,7 +28,7 @@ QgsRenderContext::~QgsRenderContext()
delete mCoordTransform;
}
void QgsRenderContext::setCoordTransform( QgsCoordinateTransform* t )
void QgsRenderContext::setCoordinateTransform( QgsCoordinateTransform* t )
{
delete mCoordTransform;
mCoordTransform = t;

View File

@ -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;}