[mapguide-commits] r1172 - trunk/MgDev/Common/Stylization

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Mar 7 14:32:47 EST 2007


Author: traianstanev
Date: 2007-03-07 14:32:47 -0500 (Wed, 07 Mar 2007)
New Revision: 1172

Modified:
   trunk/MgDev/Common/Stylization/SE_Renderer.cpp
Log:
Another improper merge. This fixes orientation of labels along polylines in case the angle control property is FromAngle.

Modified: trunk/MgDev/Common/Stylization/SE_Renderer.cpp
===================================================================
--- trunk/MgDev/Common/Stylization/SE_Renderer.cpp	2007-03-07 19:03:54 UTC (rev 1171)
+++ trunk/MgDev/Common/Stylization/SE_Renderer.cpp	2007-03-07 19:32:47 UTC (rev 1172)
@@ -131,13 +131,13 @@
                 while (drawpos < len)
                 {                    
                     if (style->drawLast)
-                        AddLabel(&geom, style, xform, symrot);
+                        AddLabel(&geom, style, symxf, symrot);
                     else
                     {
-                        DrawSymbol(style->symbol, xform, symrot);
+                        DrawSymbol(style->symbol, symxf, symrot);
 
                         if (style->addToExclusionRegions)
-                            AddExclusionRegion(style, xform, symrot);
+                            AddExclusionRegion(style, symxf, symrot);
                     }
 
                     xform.translate(dx_incr, dy_incr);



More information about the mapguide-commits mailing list