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

[whatwg] Comments on <canvas> tag

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Thu, 18 May 2006 13:30:26 -0700
Message-ID: <000c01c67ab9$e5f90b00$c302000a@internal.toppro.net>

----- Original Message ----- 
From: "Ian Hickson" <ian@hixie.ch>
Subject: Re: [whatwg] Comments on <canvas> tag


| On Fri, 17 Jun 2005, David Flanagan wrote:
| >
| > Does the <canvas> tag really have no way to draw dashed and dotted
| > lines?  It seems to have everything else.  Is this an oversight in the
| > spec?
|
| Correct, it doesn't have stroke styles other than gradients, patterns, and
| solid colours. It was an intentional omission since it was not considered
| a high-use feature. (Similarly, text is not available in Canvas; you have
| to overlay HTML if you want to mix text with the graphics.)
|

"text is not available in Canvas"

How to achieve then something like this:
http://www.terrainformatica.com/sciter/screenshots/clock.jpg
or this:
http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSProgTopics/art/worldclock_gray.jpg

Andrew Fedoniouk.
http://terrainformatica.com
Received on Thursday, 18 May 2006 13:30:26 UTC

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