You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Thierry Kormann <tk...@ilog.fr> on 2002/06/12 14:07:45 UTC
RE: Batik mousevent screencoordinates and java mouseevent screen coordinates
> I use Batik 1.5 CVS, jdk140 on Linux Suse7.2
>
> The problem is with the screen coordinates obtained from the Batik
> MouseEvent.
the bug should be fixed now.
Thierry.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: Batik mousevent screencoordinates and java mouseevent screen coordinates
Posted by "M. van Veen" <mi...@microweb.nl>.
Hi!
I checked the screencoords (getScreenX, getScreenY), but the value it returns
is the upperleftcorner of the svgcanvas in screen coords, NOT the location of
the event in screen coords ;-(. I assume the correct behaviour should be
returning the screencoords of the event location (as stated in the api-docs)?
getClientX and getClientY work fine!
Michael.
On Wednesday 12 June 2002 14:07, you wrote:
> > I use Batik 1.5 CVS, jdk140 on Linux Suse7.2
> >
> > The problem is with the screen coordinates obtained from the Batik
> > MouseEvent.
>
> the bug should be fixed now.
>
> Thierry.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org