[SWINGX-1425] BlendComposite: BlendingModes implemented incorrectly Created: 29/Mar/11  Updated: 02/May/11  Resolved: 02/May/11

Status: Resolved
Project: swingx
Component/s: Graphics
Affects Version/s: 1.6.2
Fix Version/s: 1.6.3

Type: Bug Priority: Critical
Reporter: Spinnifex Assignee: Karl Schaefer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

all



 Description   

The BlendComposite-modes BlendComposite.GREEN & BlendComposite.BLUE are flipped.



 Comments   
Comment by Karl Schaefer [ 02/May/11 ]

Issue 1441 and Issue 1425: Corrected the incorrect color implementations. Added some units tests that use "good" sought images to perform blending checks. (Would be good to integrate these into the JavaDoc.) Added the missing modes. Some modes still untested, but this is a lot better than before.

swingx-core/src/main/java/org/jdesktop/swingx/graphics/BlendComposite.java
swingx-core/src/test/java/org/jdesktop/swingx/graphics/BlendCompositeTest.java
swingx-core/src/test/java/org/jdesktop/swingx/graphics/BlenderVisualCheck.java
swingx-core/src/test/resources/org/jdesktop/swingx/graphics
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/add.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/blue-over-horizontal.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/color-burn-hov.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/color-burn-voh.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/color-dodge-hov.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/color-dodge-voh.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/darken.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/difference.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/exclusion.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/green-over-horizontal.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/hard-mix.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/horizontal.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/lighten.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/linear-light-hov.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/linear-light-voh.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/multiply.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/overlay-hov.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/overlay-voh.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/pin-light-hov.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/pin-light-voh.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/red-over-horizontal.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/screen.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/soft-burn-hov.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/soft-burn-voh.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/soft-light-hov.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/soft-light-voh.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/subtract.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/vertical.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/vivid-light-hov.gif
swingx-core/src/test/resources/org/jdesktop/swingx/graphics/vivid-light-voh.gif

Committed revision 3998.

Generated at Wed May 06 06:38:20 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.