[QGIS Commit] r9118 - in branches/advanced_printing_branch/src: app/composer core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Aug 22 03:34:06 EDT 2008


Author: mhugent
Date: 2008-08-22 03:34:06 -0400 (Fri, 22 Aug 2008)
New Revision: 9118

Added:
   branches/advanced_printing_branch/src/core/composer/
Modified:
   branches/advanced_printing_branch/src/app/composer/qgscomposermap.h
   branches/advanced_printing_branch/src/app/composer/qgscomposition.h
Log:
some more documentation

Modified: branches/advanced_printing_branch/src/app/composer/qgscomposermap.h
===================================================================
--- branches/advanced_printing_branch/src/app/composer/qgscomposermap.h	2008-08-22 07:24:34 UTC (rev 9117)
+++ branches/advanced_printing_branch/src/app/composer/qgscomposermap.h	2008-08-22 07:34:06 UTC (rev 9118)
@@ -133,7 +133,8 @@
 
 private:
 
-    // Pointer to map renderer of main map
+    // Pointer to map renderer of the QGIS main map. Note that QgsComposerMap uses a different map renderer, 
+    //it just copies some properties from the main map renderer.
     QgsMapRenderer *mMapRenderer;
     
     /**Unique identifier*/

Modified: branches/advanced_printing_branch/src/app/composer/qgscomposition.h
===================================================================
--- branches/advanced_printing_branch/src/app/composer/qgscomposition.h	2008-08-22 07:24:34 UTC (rev 9117)
+++ branches/advanced_printing_branch/src/app/composer/qgscomposition.h	2008-08-22 07:34:06 UTC (rev 9118)
@@ -69,7 +69,7 @@
   int printoutResolution() const {return mPrintoutResolution;}
   void setPrintoutResolution(int dpi){mPrintoutResolution = dpi;}
 
-  /**Returns pointer to qgis map canvas*/
+  /**Returns pointer to map renderer of qgis map canvas*/
   QgsMapRenderer* mapRenderer(){return mMapRenderer;}
 
   QgsComposition::PlotStyle plotStyle() const {return mPlotStyle;}
@@ -90,7 +90,7 @@
   bool readXML(const QDomElement& compositionElem, const QDomDocument& doc);
 
  private:
-  /**Pointere to map renderer of QGIS main map*/
+  /**Pointer to map renderer of QGIS main map*/
   QgsMapRenderer* mMapRenderer;
   QgsComposition::PlotStyle mPlotStyle;
   QGraphicsRectItem* mPaperItem;



More information about the QGIS-commit mailing list