[mapguide-trac] #291: Symbolization: Fix various problems in the stylization code

MapGuide Open Source trac_mapguide at osgeo.org
Wed Oct 24 11:58:10 EDT 2007


#291: Symbolization: Fix various problems in the stylization code
----------------------------+-----------------------------------------------
 Reporter:  waltweltonlair  |         Owner:  waltweltonlair
     Type:  defect          |        Status:  assigned      
 Priority:  high            |     Milestone:  2.0           
Component:  Server          |       Version:                
 Severity:  major           |    Resolution:                
 Keywords:                  |   External_id:                
----------------------------+-----------------------------------------------
Comment (by waltweltonlair):

 The Renderer::!StartFeature method was not being called consistently in
 the case where you have multiple rendering passes.  In the old stylization
 you get multiple passes if you have multiple !LineTypeStyles, and in this
 case !StartFeature was called for each feature with each pass.  In the new
 stylization you get multiple passes when the !RenderingPass values are set
 on a !SymbolInstance or !CompoundSymbol, but in this case we would only
 call !StartFeature for the initial pass.

 I've updated the code to be consistent and always call !StartFeature,
 regardless of which rendering pass is active.  I also updated the method
 to include an 'initialPass' boolean argument.  This is potentially useful
 information for renderers which do stuff in their !StartFeature
 implementation.

 http://trac.osgeo.org/mapguide/changeset/2314.

-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/291#comment:3>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list