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

Re: [whatwg] Singular CTM and currentTransform

From: Hwang, Dongseong <dongseong.hwang@intel.com>
Date: Wed, 26 Mar 2014 14:07:01 +0200
Message-ID: <CAFVCBbFjNZ5aLV9YTH54AO9kd_F_XDoo-J+pe2rtBPTXGsA2Zg@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: Justin Novosad <junov@google.com>, whatwg <whatwg@lists.whatwg.org>, Rik Cabanier <cabanier@gmail.com>
> Maklng path primitives and draw calls no-ops when the
> CTM is non-invertible is simple to spec, implement, test, and understand
> for developers.

I strongly agree on Justin.

I would suggest that the getter either:
> 1) throws and invalid state error if the CTM is not invertible
> 2) returns 0. In WebIDLit would look like: SVGMatrix? getTransform();

afaik, we generally avoid throwing exception. am I right?

Br, DS
Received on Wednesday, 26 March 2014 12:07:25 UTC

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