On Mon, 18 Sep 2006 12:31:19 +0200, sachin chaudhary
<[EMAIL PROTECTED]> wrote:
[...]
> function msDown(evt) {
> //on mouse down capture coordinates of start point
> X1 = evt.getClientX();
> Y1 = evt.getClientY();
> mouseDown ++;
> updateStats();
> }
> function msUp(evt) {
> // on mouse up capture coordinates of end point and
> draw line
> X2 = evt.getClientX();
> Y2 = evt.getClientY();
> mouseUp++;
> updateStats();
> drawLine(X1,Y1,X2,Y2);
> }
evt.getClientX() -> evt.clientX etc.
See http://jwatt.org/svg/authoring/#asv-getters-and-setters
/Erik
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
-----
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> 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/