[mapguide-commits] r1292 - trunk/MgDev/Common/Stylization
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Mar 19 16:16:52 EDT 2007
Author: waltweltonlair
Date: 2007-03-19 16:16:52 -0400 (Mon, 19 Mar 2007)
New Revision: 1292
Modified:
trunk/MgDev/Common/Stylization/GDRenderer.cpp
Log:
Fix typo in GDRenderer::GetPixelsPerMillimeterWorld
Modified: trunk/MgDev/Common/Stylization/GDRenderer.cpp
===================================================================
--- trunk/MgDev/Common/Stylization/GDRenderer.cpp 2007-03-19 20:15:42 UTC (rev 1291)
+++ trunk/MgDev/Common/Stylization/GDRenderer.cpp 2007-03-19 20:16:52 UTC (rev 1292)
@@ -2281,8 +2281,7 @@
double GDRenderer::GetPixelsPerMillimeterWorld()
{
- //TODO: check if this is right, could try
- return m_dpi / 25.4 * m_mapScale;
+ return m_dpi / 25.4 / m_mapScale;
}
RS_FontEngine* GDRenderer::GetFontEngine()
More information about the mapguide-commits
mailing list