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

Phil Race philip.race at oracle.com
Fri Oct 18 18:01:33 UTC 2013


Looks good to me.

-phil.

On 10/18/2013 9:59 AM, 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