Thanks,
I hadn't realized it was turned on by default.
I feel a little dumb now....
Till
Meves Kai (ext) wrote:

Hi Till,

I think if you use this, you should see a difference:

svgCanvas.getCanvasGraphicsNode().setRenderingHint(RenderingHints.KEY_ANTIAL
IASING,RenderingHints.VALUE_ANTIALIAS_OFF);

You need to get the CanvasGraphicsNode and since antialiasing is turned on
by default you won't see any difference when turning it on again. When you
turn it off instead, you will realize how good AA works :-)

Hope that helped,
Kai.

-----Original Message-----
From: till varoquaux [mailto:[EMAIL PROTECTED]
Sent: Montag, 22. November 2004 13:13
To: Batik Users
Subject: Antialiasing


I'm still quite lost in the batik toolbox....
I tried to get antialiasing on a JSVGCanvas (actually the one from the exemple on the site) by doing:
svgCanvas.getGraphicsNode().setRenderingHint(RenderingHints.KEY_ANTIALIASING
,RenderingHints.VALUE_ANTIALIAS_ON);
This doesn't crash but I can't see any differences....
So (again) I bug the mailling list....
You will find attached the whole sources (about the same than the exemple...).


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to