[mapguide-commits] r1390 - branches/1.2.x/MgDev/Common/Stylization
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Mar 27 17:16:51 EDT 2007
Author: traianstanev
Date: 2007-03-27 17:16:51 -0400 (Tue, 27 Mar 2007)
New Revision: 1390
Modified:
branches/1.2.x/MgDev/Common/Stylization/SE_SymbolDefProxies.cpp
Log:
Switch text vertical alignment default back to Halfline.
Bear with me, I'll get it right.
Modified: branches/1.2.x/MgDev/Common/Stylization/SE_SymbolDefProxies.cpp
===================================================================
--- branches/1.2.x/MgDev/Common/Stylization/SE_SymbolDefProxies.cpp 2007-03-27 21:12:11 UTC (rev 1389)
+++ branches/1.2.x/MgDev/Common/Stylization/SE_SymbolDefProxies.cpp 2007-03-27 21:16:51 UTC (rev 1390)
@@ -185,6 +185,8 @@
ret->tdef.halign() = RS_HAlignment_Left;
else if (wcscmp(hAlign, L"Right") == 0)
ret->tdef.halign() = RS_HAlignment_Right;
+ else if (wcscmp(hAlign, L"Center") == 0)
+ ret->tdef.halign() = RS_HAlignment_Center;
else // default is Center
ret->tdef.halign() = RS_HAlignment_Center;
@@ -197,6 +199,8 @@
ret->tdef.valign() = RS_VAlignment_Cap;
else if (wcscmp(vAlign, L"Top") == 0)
ret->tdef.valign() = RS_VAlignment_Ascent;
+ else if (wcscmp(vAlign, L"Baseline") == 0)
+ ret->tdef.valign() = RS_VAlignment_Base;
else // default is Halfline
ret->tdef.valign() = RS_VAlignment_Half;
More information about the mapguide-commits
mailing list