[mapguide-commits] r9881 - sandbox/adsk/trunk/Common/Stylization
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Oct 11 17:58:21 PDT 2021
Author: simonliu
Date: 2021-10-11 17:58:21 -0700 (Mon, 11 Oct 2021)
New Revision: 9881
Modified:
sandbox/adsk/trunk/Common/Stylization/SE_PositioningAlgorithms.cpp
Log:
Pass the 'geometry' argument to ProcessSELabelGroup, so the renderer can get the centroid of the geometry.
Modified: sandbox/adsk/trunk/Common/Stylization/SE_PositioningAlgorithms.cpp
===================================================================
--- sandbox/adsk/trunk/Common/Stylization/SE_PositioningAlgorithms.cpp 2021-10-11 11:44:36 UTC (rev 9880)
+++ sandbox/adsk/trunk/Common/Stylization/SE_PositioningAlgorithms.cpp 2021-10-12 00:58:21 UTC (rev 9881)
@@ -447,7 +447,7 @@
candidates[7].Set(cx + op_pts[14] - labelMinX, cy + (op_pts[15] - labelMaxY)*yScale, RS_Units_Device, angleRad, st7);
}
- se_renderer->ProcessSELabelGroup(candidates, 8, RS_OverpostType_FirstFit, true, NULL);
+ se_renderer->ProcessSELabelGroup(candidates, 8, RS_OverpostType_FirstFit, true, geometry);
}
More information about the mapguide-commits
mailing list