|
QGIS API Documentation
master-6227475
|
00001 /*************************************************************************** 00002 qgsrendercontext.cpp 00003 -------------------- 00004 begin : March 16, 2008 00005 copyright : (C) 2008 by Marco Hugentobler 00006 email : marco dot hugentobler at karto dot baug dot ethz dot ch 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 00019 #include "qgsrendercontext.h" 00020 00021 QgsRenderContext::QgsRenderContext() 00022 : mPainter( 0 ), 00023 mCoordTransform( 0 ), 00024 mDrawEditingInformation( true ), 00025 mForceVectorOutput( false ), 00026 mUseAdvancedEffects( true ), 00027 mRenderingStopped( false ), 00028 mScaleFactor( 1.0 ), 00029 mRasterScaleFactor( 1.0 ), 00030 mRendererScale( 1.0 ), 00031 mLabelingEngine( NULL ) 00032 { 00033 00034 } 00035 00036 QgsRenderContext::~QgsRenderContext() 00037 { 00038 } 00039 00040 void QgsRenderContext::setCoordinateTransform( const QgsCoordinateTransform* t ) 00041 { 00042 mCoordTransform = t; 00043 } 00044