[mapguide-commits] r10107 - in branches/4.0/MgDev: . Common/Stylization
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Sep 3 07:28:54 PDT 2024
Author: jng
Date: 2024-09-03 07:28:54 -0700 (Tue, 03 Sep 2024)
New Revision: 10107
Modified:
branches/4.0/MgDev/
branches/4.0/MgDev/Common/Stylization/StylizationEngine.cpp
Log:
Merged revision(s) 10078 from sandbox/adsk/trunk:
Stylization Engine: sometimes the Clip function returns invalid polygon which results in stylization result not correct. Update the behavior to let renderer decide whether to clip or not.
........
Index: branches/4.0/MgDev
===================================================================
--- branches/4.0/MgDev 2024-08-23 09:52:37 UTC (rev 10106)
+++ branches/4.0/MgDev 2024-09-03 14:28:54 UTC (rev 10107)
Property changes on: branches/4.0/MgDev
___________________________________________________________________
Modified: svn:mergeinfo
## -8,7 +8,7 ##
/sandbox/adsk/3.1n:8871,8895,8901,8912-8913,8921-8922,8942,9019-9020,9486
/sandbox/adsk/3.2o.AIMS:9135-9140,9146
/sandbox/adsk/3.2p:9254
-/sandbox/adsk/trunk:9866-9867,9871-9873,9875-9881,9908,10070
+/sandbox/adsk/trunk:9866-9867,9871-9873,9875-9881,9908,10070,10078
/sandbox/jng/basic_label_justification:10023-10025
/sandbox/jng/catch2:9649-9676
/sandbox/jng/clean_json:8818-9180
Modified: branches/4.0/MgDev/Common/Stylization/StylizationEngine.cpp
===================================================================
--- branches/4.0/MgDev/Common/Stylization/StylizationEngine.cpp 2024-08-23 09:52:37 UTC (rev 10106)
+++ branches/4.0/MgDev/Common/Stylization/StylizationEngine.cpp 2024-09-03 14:28:54 UTC (rev 10107)
@@ -938,7 +938,8 @@
// clipping is too high. We also need a better approach to clipping. Instead
// of clipping the feature geometry we need to calculate where to start/stop
// drawing symbols.
- bool bClip = true; //m_serenderer->RequiresClipping();
+ // Let renderer decide whether to clip or not.
+ bool bClip = m_serenderer->RequiresClipping();
double clipOffsetSU = 0.0;
// Make a pass over all the instances. During this pass we:
More information about the mapguide-commits
mailing list