Re: [whatwg] Canvas and Paths

2014-03-17 Thread Rik Cabanier
> > On Mon, 10 Mar 2014, Tab Atkins Jr. wrote: > > > > This is also my question. Given that generating a path for a particular > > context isn't a magic bullet *anyway* (because the details of the > > context can change), I don't understand why caching isn't the answer. > > On Mon, 10 Mar 2014, Ri

Re: [whatwg] Canvas and Paths

2014-03-12 Thread Rik Cabanier
> > >> I don't think the arguments for removing these are compelling. The >> problems with the APIs have been addressed (e.g. there's no ambiguity in >> the case of overlapping text), the use cases are clear (e.g. drawing text >> around an arc or drawing a label along a line graph's line), and the

Re: [whatwg] Canvas and Paths

2014-03-12 Thread Rik Cabanier
> > > > You can do unions and so forth with just paths, no need for regions. > > > > How would you do a union with paths? > > If you mean that you can just aggregate the segments, sure but that > doesn't > > seem very useful. > > You say, here are some paths, here are some fill rules, here are some

Re: [whatwg] Canvas and Paths

2014-03-12 Thread Rik Cabanier
On Wed, Mar 12, 2014 at 3:44 PM, Ian Hickson wrote: > > On Thu, 28 Nov 2013, Rik Cabanier wrote: > > On Thu, Nov 28, 2013 at 8:30 AM, Jürg Lehni > > wrote: > > > > > > I meant to say that it I think it would make more sense if the path > > > was in the current transformation matrix, so it would

[whatwg] Canvas and Paths

2014-03-12 Thread Ian Hickson
On Thu, 28 Nov 2013, Rik Cabanier wrote: > On Thu, Nov 28, 2013 at 8:30 AM, Jürg Lehni > wrote: > > > > I meant to say that it I think it would make more sense if the path > > was in the current transformation matrix, so it would represent the > > same coordinate values in which it was drawn,