W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2014

Re: [whatwg] addPath and CanvasPathMethods

From: Dirk Schulze <dschulze@adobe.com>
Date: Thu, 20 Mar 2014 17:49:57 +0000
To: Rik Cabanier <cabanier@gmail.com>
Message-ID: <01351BCB-E4A0-4EB0-8261-11F0A5C0902E@adobe.com>
Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>
On Mar 20, 2014, at 6:31 PM, Rik Cabanier <cabanier@gmail.com> wrote:

> addPath is currently defined on the Path2D object. [1]
> Is there a reason why it's not defined on CanvasPathMethods instead? That
> way this method is available on the 2d contest so you can append a path to
> the current graphics state.
> 
> This would also negate the need for setCurrentPath.

I am supportive for this idea! I agree that this would solve one of the reasons why I came up with currentPath for WebKit in the first place.

Greetings,
Dirk


> 
> 1:
> http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-path-addpath
Received on Thursday, 20 March 2014 17:53:47 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:17 UTC