Composition of multiple feature type styles might lead to unexpected color 
blends
---------------------------------------------------------------------------------

                 Key: GEOT-2319
                 URL: http://jira.codehaus.org/browse/GEOT-2319
             Project: GeoTools
          Issue Type: Bug
          Components: core render
    Affects Versions: 2.5.3
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.5.4


Say you have two layers, a background one with a single big blue polygon, and a 
second layer that uses two feature type styles, both filling polygons with a 
yellow color (say we're using fts to make sure a certain kind of polygon gets 
drawn on top). Now, the first fts will drawn fine and end up being yellow on 
the map, the second one might get out green.
This is due to the usage of back buffers to draw the two fts in parallel 
without having to access the data source one time for each fts, and the 
graphics object composite not being reset to SRC_OVER before merging in the 
back buffers into the main graphic. So it just takes any symbolizer using an 
opacity less than one to have the back buffer be renderer with the wrong 
composite and thus result in color blending where there was not supposed to be 
any.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to