[whatwg] Canvas and DOM elements
martijn.martijn at gmail.com
Tue May 9 07:33:45 PDT 2006
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.
> Only as an example, Sciter allows to draw on any block element:
> http://terrainformatica.com/sciter/sciter.zip at
> Samples are in /samples/graphics/*.htm
> Andrew Fedoniouk.
More information about the whatwg