Re: [whatwg] dashed lines in Canvas

2007-10-03 Thread Stefan Gössner
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. -- Stefa

Re: [whatwg] Canvas 2d methods

2006-07-06 Thread Stefan Gössner
pport multiple contexts. I would welcome the introduction of such a new context. -- Stefan Gössner http://goessner.net

Re: [whatwg] Canvas 2d methods

2006-07-03 Thread Stefan Gössner
L. David Baron wrote: On Sunday 2006-07-02 22:47 +0200, Stefan Gössner wrote: hmm ... ctx.scale(2,1) .rotate(Math.PI/4) .translate(4,-6); illustrates a sequence of manipulations semantically very well, doesn't it? In my opinion, this pattern generally makes sense semanti

Re: [whatwg] Canvas 2d methods

2006-07-02 Thread Stefan Gössner
as well as more elegantly in my opinion X.a().b().c(); The latter, IMHO, is semantically bogus. But that's just a matter of opinion, of course. hmm ... ctx.scale(2,1) .rotate(Math.PI/4) .translate(4,-6); illustrates a sequence of manipulations semantically very well, doesn't i

Re: [whatwg] Canvas 2d methods

2006-07-02 Thread Stefan Gössner
Ian Hickson wrote: On Sun, 2 Jul 2006, Stefan Gössner wrote: Ian Hickson wrote: On Sat, 1 Jul 2006, Andrew Fedoniouk wrote: In prototype based languages it is almost impossible to implement 'with' effectively in the given notation. ctx.moveTo(0,0).lineTo(10,10)

Re: [whatwg] Canvas 2d methods

2006-07-02 Thread Stefan Gössner
Ian Hickson wrote: On Sat, 1 Jul 2006, Andrew Fedoniouk wrote: In prototype based languages it is almost impossible to implement 'with' effectively in the given notation. ctx.moveTo(0,0).lineTo(10,10); is more effective. In some circumstances - in times. Why is it more effective fo

Re: [whatwg] Canvas 2d methods

2006-07-01 Thread Stefan Gössner
). This is how many of the native string and array methods work in javaScript. I strongly agree and second this. -- Stefan Gössner http://goessner.net

Re: [whatwg] Mathematics in HTML5

2006-06-20 Thread Stefan Gössner
Michel Fortin wrote: Something that's definitely missing for elementary algebra is a construct capable of representing a fraction. So I propose that HTML 5 adds fractions, and only fractions. Yes please, that would be a great start. It is quite cheap and a reasonable way to get a certain amo

Re: [whatwg] Mathematics in HTML5

2006-06-19 Thread Stefan Gössner
Anne van Kesteren wrote: Quoting Stefan Gössner <[EMAIL PROTECTED]>: I wish, that WHATWG would have a similar motivation to offer lightweight math capabilities parallel to MathML, as they were motivated to support vector graphics via the element parallel to SVG. OMG. Have you eve

Re: [whatwg] Mathematics in HTML5

2006-06-19 Thread Stefan Gössner
James Graham wrote: Is math really a core feature? Yes, absolutely .. the upcoming microlearning / nanolearning units inevitably need math. That's a really particular use case which is hardly representative of the web as a whole. As sad as it is, 99.9% of authors have no use for maths (o

Re: [whatwg] Mathematics in HTML5

2006-06-17 Thread Stefan Gössner
Anne van Kesteren wrote: "The core features of an XML vocabulary should require the use of elements from ONLY ONE NAMESPACE." Is math really a core feature? Yes, absolutely .. the upcoming microlearning / nanolearning units inevitably need math.

Re: [whatwg] Mathematics in HTML5

2006-06-09 Thread Stefan Gössner
I would highly appreciate a lightweight, pragamatic solution for doing math on the web in a convenient way. This solution could parallel MathML the same way as Canvas parallels SVG. And that does not necessarily mean, it should be javascript or Latex based -- though it might be. Personally I l