[whatwg] Questions regarding Path object
Rik Cabanier
cabanier at gmail.com
Fri Mar 14 15:18:41 PDT 2014
On Wed, Dec 4, 2013 at 5:18 PM, Rik Cabanier <cabanier at gmail.com> wrote:
>
>
>
> On Wed, Dec 4, 2013 at 11:10 AM, Jürg Lehni <lists at 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 at gmail.com> wrote:
>>
>> > On Monday, November 18, 2013, Rik Cabanier wrote:
>> >
>> >>
>> >>
>> >>
>> >> On Wed, Nov 13, 2013 at 1:36 PM, Robert O'Callahan <
>> robert at ocallahan.org<javascript:_e({}, 'cvml', 'robert at ocallahan.org');>
>> >>> wrote:
>> >>
>> >>> On Wed, Nov 13, 2013 at 12:12 PM, Jussi Kalliokoski <
>> >>> jussi.kalliokoski at gmail.com <javascript:_e({}, 'cvml',
>> >>> 'jussi.kalliokoski at 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
>>
>>
>
More information about the whatwg
mailing list