W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2006

[whatwg] Comments on <canvas> tag

From: Peter Hall <peterjoel@gmail.com>
Date: Sat, 20 May 2006 16:12:17 +0100
Message-ID: <9ac110a90605200812n126cb3c6if0518fa96dd65402@mail.gmail.com>
On 5/17/06, David Flanagan <david at davidflanagan.com> wrote:
> What surprises me about the omission of dashed lines is that every
> graphics API I'm familiar with (Xlib, PostScript, Java 2D) supports
> dashed lines. Unless there is some important platform out there that
> does not support them in the underlying graphics library, it seems to me
> that it would have been trivial to add dashed lines to the API.

Flash is an example of a platform that does not support dashed lines in its
drawing API. Dashed lines created in the Flash Authoring tool are actually
exported into a swf as a series of short curves.

However, this is a huge limitation, when it comes to drawing lines
dynamically, so I don't think one platform's omission of the feature is a
good argument anyway.

It is a reasonable and worthwhile goal to natively support emulation of all
style attributes that are specifiable in CSS.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20060520/eb96003a/attachment.htm>
Received on Saturday, 20 May 2006 08:12:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:27 UTC