Hi Thomas,
[EMAIL PROTECTED] wrote:
Hi Jonathan,
Jonathan Watt <[EMAIL PROTECTED]> wrote on 03/15/2006 11:18:47 AM:
While testing how implementations inherit fx and fy I discovered that
Batik
doesn't seem to render radialGradient elements with these attributes
correctly.
It inherits them fine, but the mapping of stop locations doesn't seem
quite
right. I've got a testcase at:
This is caused by the clamping of the fx/fy at the edge of the circle.
We currently clam fx/fy at r*.97 In this case that is several pixels
from the edge of the radial gradient circle. You can't let it get too
close to the edge or the math and gradients go all wonky. I've
modified the SCALEBACK coef to be .999 instead of .97 and it "gets
the red out".
ASV 6 seems to use a scaleback much closer to 1 than .97, so hopefully that
change won't cause any problems. I'm quite surprised by the value too. It seems
like a rather large margin.
Jonathan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]