Re: [whatwg] canvas elements rect polygon etc

2007-05-11 Thread Ian Hickson
On Sun, 11 Mar 2007, 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

Re: [whatwg] canvas elements rect polygon etc

2007-03-13 Thread Philip Taylor
On 12/03/07, ddailey [EMAIL PROTECTED] wrote: I would like to believe that Canvas is useful, but being both naive and stubborn, I don't yet see why. In reading through the WHATWG draft, there are about N things that it seems to be talking about. I see N-2 of those as redundant with the SVG

Re: [whatwg] canvas elements rect polygon etc

2007-03-12 Thread Anne van Kesteren
On Sun, 11 Mar 2007 22:47:36 +0100, carmen [EMAIL PROTECTED] wrote: thats kind of what i'm asking, it looks like SVG has its own API already, sort of similar to canvas. are there plans to merge? can you use svg elements inwide a canvas element or will the browser not find them? are there

Re: [whatwg] canvas elements rect polygon etc

2007-03-12 Thread Maciej Stachowiak
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

Re: [whatwg] canvas elements rect polygon etc

2007-03-12 Thread ddailey
Maciej wrote: canvas is a programmatic immediate mode drawing surface. For retained-mode structured graphics, SVG would be your solution. Both things are useful. I would like to believe that Canvas is useful, but being both naive and stubborn, I don't yet see why. In reading through the

Re: [whatwg] canvas elements rect polygon etc

2007-03-12 Thread Edward O'Connor
[EMAIL PROTECTED] wrote: Those who have worked with Canvas for the past several years have probably written documents somewhere to explain just why the two specs (SVG and Canvas) should not be merged. If someone could point me toward that rationale, I will emerge enlightened and grateful

Re: [whatwg] canvas elements rect polygon etc

2007-03-12 Thread Gareth Hay
There is nothing to stop browser developers using the same underlying implementation for canvas and svg rendering, so the overlap in function becomes a plus point from a programming point of view. Until either Canvas or SVG become completely available there will be a place for both.

Re: [whatwg] canvas elements rect polygon etc

2007-03-12 Thread Matthew Ratzloff
On Mon, March 12, 2007 3:34 pm, ddailey wrote: Those who have worked with Canvas for the past several years have probably written documents somewhere to explain just why the two specs (SVG and Canvas) should not be merged. If someone could point me toward that rationale, I will emerge

Re: [whatwg] canvas elements rect polygon etc

2007-03-12 Thread ddailey
From: Gareth Hay wrote There is nothing to stop browser developers using the same underlying implementation for canvas and svg rendering, so the overlap in function becomes a plus point from a programming point of view. Good point. I guess the difficulty is not really in parsing the markup,

Re: [whatwg] canvas elements rect polygon etc

2007-03-12 Thread ddailey
Edward O'Connor wrote: Please excuse the analogy, but try thinking about it this way: canvas is to Photoshop as SVG is to Illustrator. I think it's a bit more elusive than that. SVG allows bitmaps to be imported, and subsequently filtered (blurs, displacements, channel separations, layers,

Re: [whatwg] canvas elements rect polygon etc

2007-03-12 Thread Elliotte Harold
Edward O'Connor wrote: Please excuse the analogy, but try thinking about it this way: canvas is to Photoshop as SVG is to Illustrator. No, not really. canvas is to Illustrator as JPEG is to Photoshop. SVG is also to Illustrator as JPEG is to Photoshop. It's more like canvas is to

Re: [whatwg] canvas elements rect polygon etc

2007-03-11 Thread carmen
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

Re: [whatwg] canvas elements rect polygon etc

2007-03-11 Thread Matthew Raymond
carmen wrote: are there plans to support html style creation of elements within the canvas tag? How would that be different from Scalable Vector Graphics (SVG)???

Re: [whatwg] canvas elements rect polygon etc

2007-03-11 Thread carmen
On Sun Mar 11, 2007 at 05:06:06PM -0400, Matthew Raymond wrote: carmen wrote: are there plans to support html style creation of elements within the canvas tag? How would that be different from Scalable Vector Graphics (SVG)??? thats kind of what i'm asking, it looks like SVG has its

Re: [whatwg] canvas elements rect polygon etc

2007-03-11 Thread ddailey
. I know... nobody cares about a million votes any more. ddailey - Original Message - From: carmen [EMAIL PROTECTED] To: Matthew Raymond [EMAIL PROTECTED] Cc: whatwg@lists.whatwg.org; carmen [EMAIL PROTECTED] Sent: Sunday, March 11, 2007 5:47 PM Subject: Re: [whatwg] canvas elements rect