[OpenJDK 2D-Dev] request for review: xrender pipeline ignores center-coordinates of RadialGradient

Clemens Eisserer linuxhippy at gmail.com
Fri Oct 18 16:59:21 UTC 2013


Please find a more extensive fix at:
http://cr.openjdk.java.net/~ceisserer/fix13/webrev.02/

In addition to the fixes in webrev.00, this one also fixes the
TexturePaint issues reported by Phil.
With this patch the TransformedPaintTest is rendered correctly.

The problem with TexturePaint was basically the same as with
RadialGradientPaint, the initial transform is overwritten by the
currently set Graphic2D's transformation.
The solution was to additionally store this transformation (includes
scale and translation set by the TexturePaint's
Rectangle2D-parameter).

Thanks, Clemens



More information about the 2d-dev mailing list