[mapguide-commits] r7743 - sandbox/jng/stylization_refactor/Common/Stylization
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Aug 7 08:57:40 PDT 2013
Author: jng
Date: 2013-08-07 08:57:40 -0700 (Wed, 07 Aug 2013)
New Revision: 7743
Modified:
sandbox/jng/stylization_refactor/Common/Stylization/DefaultStylizer.cpp
sandbox/jng/stylization_refactor/Common/Stylization/StylizationUtil.cpp
Log:
Remove/update comments
Modified: sandbox/jng/stylization_refactor/Common/Stylization/DefaultStylizer.cpp
===================================================================
--- sandbox/jng/stylization_refactor/Common/Stylization/DefaultStylizer.cpp 2013-08-07 15:40:11 UTC (rev 7742)
+++ sandbox/jng/stylization_refactor/Common/Stylization/DefaultStylizer.cpp 2013-08-07 15:57:40 UTC (rev 7743)
@@ -311,12 +311,11 @@
// ignore Z values if the renderer doesn't need them
bool ignoreZ = !renderer->SupportsZ();
- // create an expression engine with our custom functions
- // NOTE: We must create a new engine for each call to StylizeVLHelper. The
- // engine stores a weak reference to the RS_FeatureReader's internal
+ // create an FDO evaluator
+ // NOTE: We must create a new evaluator for each call to StylizeVLHelper. The
+ // evaluator stores a weak reference to the RS_FeatureReader's internal
// FdoIFeatureReader, and this internal reader is different for each
// call to StylizeVLHelper.
- //FdoPtr<FdoExpressionEngine> eval = ExpressionHelper::GetExpressionEngine(renderer, features);
FdoEvaluator eval(renderer, features);
// main loop over feature data
Modified: sandbox/jng/stylization_refactor/Common/Stylization/StylizationUtil.cpp
===================================================================
--- sandbox/jng/stylization_refactor/Common/Stylization/StylizationUtil.cpp 2013-08-07 15:40:11 UTC (rev 7742)
+++ sandbox/jng/stylization_refactor/Common/Stylization/StylizationUtil.cpp 2013-08-07 15:57:40 UTC (rev 7743)
@@ -518,8 +518,7 @@
std::vector<SE_SymbolInstance*> symbolInstances;
visitor.Convert(symbolInstances, csym);
- // create an expression engine with our custom functions
- //FdoPtr<FdoExpressionEngine> eval = ExpressionHelper::GetExpressionEngine(pSERenderer, NULL);
+ // create our FDO evaluator
FdoEvaluator eval(pSERenderer, NULL);
//-------------------------------------------------------
@@ -982,8 +981,7 @@
std::vector<SE_SymbolInstance*> symbolInstances;
visitor.Convert(symbolInstances, csym);
- // create an expression engine with our custom functions
- //FdoPtr<FdoExpressionEngine> eval = ExpressionHelper::GetExpressionEngine(pSERenderer, NULL);
+ // create an FDO evaluator
FdoEvaluator eval(pSERenderer, NULL);
// calculate bounds - symbol geometries cannot use expressions, so no expression engine is needed
More information about the mapguide-commits
mailing list