W3C home > Mailing lists > Public > public-canvas-api@w3.org > October to December 2013

Re: [whatwg] CanvasRenderingContext2D with addPath, currentPath

From: Glenn Maynard <glenn@zewt.org>
Date: Sun, 3 Nov 2013 08:22:08 -0600
Message-ID: <CABirCh_F+_TjTvdNPZ2kTOMt2ehLBYJED75kEEb-pafHY=VW_Q@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: "Robert O'Callahan" <robert@ocallahan.org>, "whatwg@whatwg.org" <whatwg@whatwg.org>, "public-canvas-api@w3.org" <public-canvas-api@w3.org>
On Sat, Nov 2, 2013 at 9:03 PM, Rik Cabanier <cabanier@gmail.com> wrote:

> > Does this mean that ctx.currentPath != ctx.currentPath?
>
> Yes
>
> > That's bad!
>
> Why would it be bad (apart from being different)?
>

It's strange to say "foo.bar.baz = 1" (ctx.currentPath.baz = 1), and for
foo.bar.baz to not be 1 the next time you look.  It's also confusing if you
use it as a Map key.

-- 
Glenn Maynard
Received on Sunday, 3 November 2013 14:22:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:31:55 UTC