[OpenJDK 2D-Dev] request for review: xrender pipeline ignores center-coordinates of RadialGradient
Clemens Eisserer
linuxhippy at gmail.com
Sat Oct 19 15:27:07 UTC 2013
Please wait with the commit, there are a few other issues hidden in
the horrors of the xrender pipeline's gradient support.
2013/10/19 Andrew Brygin <andrew.brygin at oracle.com>:
> Hello Clemens,
>
> the fix looks fine to me.
>
> Thanks,
> Andrew
>
>
> 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