I think I've got the picture, thanks very much ;)

Ken
But the question is, why are you rotating the whole with the anchor
point (centerX, centerY) in the codes:
renderingTransform.rotate(-angle, centerX, centerY);
what should this point be in this case??? I removed them and do the
rotation by renderingTransform.rotate(-angle) and it seems to work too,
why is that?

I'm not properly following this thread, but I believe this is a
generic approach which can also to be used when the canvas has
suffered rotation - try playing with Ctrl+right click and drag in
Batik Squiggle, for a working example. Of course you may probably
avoid this if you don't intend to support rotation: a minor
performance improvement versus a potential loss of functionallity. ;-)

Hope this helps,

 Helder Magalhães

---------------------------------------------------------------------
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