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. --

Re: [whatwg] Canvas 2d methods

2006-07-06 Thread Stefan Gössner
of such a new context. -- Stefan Gössner http://goessner.net

Re: [whatwg] Canvas 2d methods

2006-07-02 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] 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

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); is more

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

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

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

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