Re: [whatwg] Questions regarding Path object

On Wed, Dec 4, 2013 at 5:18 PM, Rik Cabanier <cabanier@gmail.com> wrote:

>
>
>
> On Wed, Dec 4, 2013 at 11:10 AM, Jürg Lehni <lists@scratchdisk.com> wrote:
>
>> I somehow managed to oversee all the things that happened in this
>> discussion, but I'm very happy to see that Path2D is being proposed and
>> agreed on now. It's also what I've originally suggested on April 10 this
>> year, and I completely agree that it leaves much less doubt about its
>> functionality and context of use. It also has a history as a term in Java2D:
>>
>> http://docs.oracle.com/javase/7/docs/api/java/awt/geom/Path2D.html
>>
>> So is this going through?
>>
>
> Yes, all that need to happen is for someone to implement this :-)
>

Path2D has now landed in Blink [1]. Blink also implemented the 'addPath'
method.
WebKit just landed a patch to rename Path to Path2D, remove currentPath and
add fill/stroke/clip with a path [2].
A patch is under review for Firefox to add Path2D.

Given this, can we change the spec to reflect the new name?

1: https://codereview.chromium.org/178673002/
2: https://webkit.org/b/130236
3: https://bugzilla.mozilla.org/show_bug.cgi?id=830734



>  On Nov 18, 2013, at 19:03 , Elliott Sprehn <esprehn@gmail.com> wrote:
>>
>> > On Monday, November 18, 2013, Rik Cabanier wrote:
>> >
>> >>
>> >>
>> >>
>> >> On Wed, Nov 13, 2013 at 1:36 PM, Robert O'Callahan <
>> robert@ocallahan.org<javascript:_e({}, 'cvml', 'robert@ocallahan.org');>
>> >>> wrote:
>> >>
>> >>> On Wed, Nov 13, 2013 at 12:12 PM, Jussi Kalliokoski <
>> >>> jussi.kalliokoski@gmail.com <javascript:_e({}, 'cvml',
>> >>> 'jussi.kalliokoski@gmail.com');>> wrote:
>> >>>
>> >>>> Path is also too generic even in the context of graphics. If we
>> later on
>> >>>> want to add a path object for 3-dimensional paths, you end up with
>> Path
>> >>>> and
>> >>>> Path3D? Yay for consistency. Path2D would immediately inform what
>> >>>> dimensions we're dealing with and also that this is to do with
>> graphics,
>> >>>> and thus sounds like a good name to me.
>> >>>>
>> >>>
>> >>> Sounds good to me.
>> >>>
>> >>
>> >> Elliot,
>> >>
>> >> what do you think, is Path2D acceptable?
>> >>
>> >
>> > Sounds great to me, lets do it!
>> >
>> > - E
>>
>>
>

Received on Friday, 14 March 2014 22:19:06 UTC