hi Ben > can anyone tell me how to get the coordinates > of the center of the screen no matter how you pan the svg > document, ie., if I pan to the bottom right corner I want > the coordinates at the center of the screen/window.
you would do something like : -determin the center of your initial screen. - get currentTranslate and currentScale -apply these transformations to the point > I need to know the coordinates so when I, say, add an object, > it will appear on the screen for the user to see (and not > at an arbitrary X,Y which might be out of view. couldnt you let the user click where he wants the object to be inserted ? hth Holger ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

