xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: Event position ?
Date Thu, 04 Sep 2003 16:23:49 GMT
Carsten Zerbst wrote:
> Hello,
> 
> I'd like to display something like a tooltip on certain items. This
> works well, but actually I take the position for the tooltip using
> event.screenX/Y. This is off course wrong, but how could one access the 
> position of an event e.g. in the coordinate system of the svg ?

    Try getScreenCTM() - there is example code in:
xml-batik/samples/test/spec/scripting/currentScaleTranslate.svg




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message