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

Andrew Brygin andrew.brygin at oracle.com
Sat Oct 19 07:54:44 UTC 2013

Hello Clemens,

  the fix looks fine to me.


On 10/18/2013 8:59 PM, Clemens Eisserer wrote:
> 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