[whatwg] canvas elements <rect> <polygon> etc

Maciej Stachowiak mjs at apple.com
Mon Mar 12 11:36:03 PDT 2007


On Mar 11, 2007, at 1:34 PM, carmen wrote:

>> suppose one is building a GUI with solely <canvas> elements.
>
> i suppose i should have researched <canvas>  - it looks like it  
> doesn't have elemnts one might be faimilar with the Tk canvas - you  
> can only draw using javascript. are there plans to support html  
> style creation of elements within the <canvas> tag?

<canvas> is a programmatic immediate mode drawing surface. For  
retained-mode structured graphics, SVG would be your solution. Both  
things are useful.

  - Maciej




More information about the whatwg mailing list