Hi Thanks for the suggestion . Can you provide me with the link for Yahoo SVG group and if possible any example which could give me direction towards getting x and y co-ordinates. What does getCTM method do.
Regards Arvind >From: Thomas E Deweese <[EMAIL PROTECTED]> >Reply-To: "Batik Users" <[EMAIL PROTECTED]> >To: Batik Users <[EMAIL PROTECTED]> >Subject: RE: How to get correct X and Y co-ordinates >Date: Mon, 7 Oct 2002 08:46:47 -0400 > > >>>>> "AS" == Arvind Sareen <[EMAIL PROTECTED]> writes: > >AS> I have written code which returns me the actual x and y value of >AS> the line plotted and not the windows x and y co-ordinates but i >AS> always get the same value even when x and y co-ordinates of >AS> windows change. Attached is the code. > > This code seems to be designed to work with the Adobe Viewer (it >uses SVG DOM methods we don't implement yet - getTotalLength, >getPointAtLength, etc). You may find that the Yahoo SVG Group is more >useful for Adobe related questions. > > However the general question of converting userspace to device >space coordinates should be a simple matter of applying the results of >getCTM to the points, however I understand there is a bug in the >implementation of this method in the Adobe Viewer. You might also >look at currentScale/currentTranslate attributes on the outermost SVG >element (which contain the viewing transform). > >AS> Can anybody provide me with the solution or workaround to the >AS> above problem. > > I hope this helps at least a little. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
