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 Richard Bennett <ri...@skynet.be> on 2002/07/06 23:57:41 UTC

Are onzoom, currentScale and currentTranslate supported?

(I'm using 1.5beta3 on win2k with java1.3)

Is there a list of events that have been implemented?

I'm trying to get this to work in Batik:

<svg .... onzoom="zoomTest(evt)">
<script ....>
function zoomTest(evt){
    alert("Zoom is: "+evt.target.ownerDocument.rootElement.currentScale)
}
</script>
</svg>

In ASV3 the alert shows when zooming in/out.
In Batik it doesn't...
 
Thanks,
Richard.

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


Re: Are onzoom, currentScale and currentTranslate supported?

Posted by Richard Bennett <ri...@skynet.be>.
Ok, thanks for the reply - at least I know I can stop trying to get that to
work now :o)

Richard.

----- Original Message -----
From: "Vincent Hardy" <vi...@sun.com>



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


Re: Are onzoom, currentScale and currentTranslate supported?

Posted by Vincent Hardy <vi...@sun.com>.
Richard,

No, this is not implemented yet but I added an RFE for this a couple
days ago:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10447

I'll also try to add a list of the supported events linked from the
status page.

Thanks,
Vincent.

Richard Bennett wrote:
> 
> (I'm using 1.5beta3 on win2k with java1.3)
> 
> Is there a list of events that have been implemented?
> 
> I'm trying to get this to work in Batik:
> 
> <svg .... onzoom="zoomTest(evt)">
> <script ....>
> function zoomTest(evt){
>     alert("Zoom is: "+evt.target.ownerDocument.rootElement.currentScale)
> }
> </script>
> </svg>
> 
> In ASV3 the alert shows when zooming in/out.
> In Batik it doesn't...
> 
> Thanks,
> Richard.
> 
> ---------------------------------------------------------------------
> 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