[dojo-contributors] SVG/VML/Canvas API discussion
jon.sykes at media-hive.com
Tue Apr 18 21:07:26 EDT 2006
You could take an an example the "other" vector drawing system that
has an API.
If there was an API like this in Dojo for web vector drawing,
especially if it abstracted the actual rendering so it could work
with VML, SVG, Mobile SVG, whatever is next, the scope could be huge.
On Apr 18, 2006, at 8:23 PM, Bill Keese wrote:
>> I think probably we should discuss the needs before the API (which
>> is my fault, since I threw out API at first). Any other thoughts
>> on needs and goals?
> Well, something like the chart widget might be satisfied with a
> canvas-like api (like drawRectangle(0,0,50,50,blue); ), but if you
> get into stuff like interactive charts (click on a bar and
> something happens), then you would want something more like the dom
> api, where you can create a node (such as a circle or rectangle)
> and then set properties on it, such as the onclick handler. You
> might also want to delete previously created nodes, or change
> properties (such as the size) of an existing node.
> dojo-contributors mailing list
> dojo-contributors at dojotoolkit.org
More information about the dojo-contributors