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

[whatwg] Canvas and DOM elements

From: Martijn <martijn.martijn@gmail.com>
Date: Tue, 9 May 2006 16:33:45 +0200
Message-ID: <6c97b8b10605090733h3e5156f6o2a890a339dfb178e@mail.gmail.com>
On 5/5/06, Andrew Fedoniouk <news at terrainformatica.com> wrote:
>
> Having dedicated DOM element (<canvas>) for drawings looks a bit strange as
> a design decision.
> Logically any block DOM element can provide graphics.
> Ideally getContext method should have one more parameter - layer -
> background/content/foreground -
> so graphics could be mixed with the content of the element, drawn on top
> and/or below the content.

Yeah, I think you make a good point here.

Regards,
Martijn


> <optional>
> Only as an example, Sciter allows to draw on any block element:
> http://terrainformatica.com/sciter/sciter.zip at
> http://terrainformatica.com/sciter/
> Samples are in /samples/graphics/*.htm
> </optional>
>
> Andrew Fedoniouk.
> http://terrainformatica.com
>
>
>
>
Received on Tuesday, 9 May 2006 07:33:45 UTC

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