W3C home > Mailing lists > Public > site-comments@w3.org > May 2004

Re: SVG API

From: Dean Jackson <dean@w3.org>
Date: Thu, 27 May 2004 12:55:31 +1000
To: "Douglas G. Leip" <dleip@molecool.wustl.edu>
Cc: Susan Lesch <lesch@w3.org>, ij@w3.org, site-comments@w3.org
Message-ID: <20040527025531.GA25003@grorg.org>

Hi Douglas,

> >Where do I find a JavaScript API (application programming interface) 
> >for the SVG?

The SVG specification defines a Document API for SVG in a
programming neutral language called IDL. You can find the
interfaces written in IDL scattered through the SVG specification,
and collected in Appendix C of the SVG 1.1 Recommendation.

http://www.w3.org/TR/SVG/idl

The IDL is also compiled into Java and ECMAscript bindings
and included in the specification. The one you are looking for
is:

http://www.w3.org/TR/SVG/escript

That's the current Recommendation of SVG. The latest draft version,
called SVG 1.2, contains many more interfaces that are not directly
related to either documents or graphics, but are designed for
applications development. For those, refer to the SVG 1.2
specification:

http://www.w3.org/TR/SVG12/

I hope this helps!

Dean
Received on Wednesday, 26 May 2004 22:54:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:28 GMT