W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2007

[whatwg] dashed lines in Canvas

From: Stefan Gössner <stefan@goessner.net>
Date: Wed, 03 Oct 2007 11:56:16 +0200
Message-ID: <47036740.1090200@goessner.net>
One possible use case of canvas are technical drawings. For even 
extremely simple drawings - think of a circle with centerlines and a 
diameter dimension - dash-dotted lines are needed as well as dimension text.

I would like to see both (dashed lines and text) in future canvas versions.
--
Stefan Goessner

Garrett Smith wrote:
> On 5/21/07, Ian Hickson <ian at hixie.ch> wrote:
>> On 5/19/07, Garrett Smith <dhtmlkitchen at gmail.com> wrote:
> 
>>> Consider doing any diagramming. It's a necessary feature.
>> Not really. For straight lines it's pretty trivial to do today anyway
>> (either by drawing actual dashed lines or faking it with a pattern),
>> and in general you can use other styles of lines instead of actual
>> dashes. Now of course I'm not saying that this is always a good
>> alternative, but it's not a blocker.
>>
> 
> 
>> If someone actually does this, then we might have to reconsider.
> 
> http://ditchnet.org/canvasuml/
> 
> Someone actually did.
> 
> I haven't tried using <canvas> for UML for publishing.
> 
>  If I want to make a diagram published, I'd use the above strategies.
> 
> Trying to make UML Diagrams in the browser, current options are:
> 1) ASCII
> 2) Image
> 3) HTML + CSS + Images
> 
> A UML widget for a bugzilla plugin could be useful, so long as it was
> simple and quicker to use than making ascii lines.
> 
> Garrett
> 
>> --
>> Ian Hickson
>>
> 
Received on Wednesday, 3 October 2007 02:56:16 UTC

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