[whatwg] Singular CTM and currentTransform
Dirk Schulze
dschulze at adobe.com
Wed Mar 26 07:33:36 PDT 2014
On Mar 26, 2014, at 1:07 PM, Hwang, Dongseong <dongseong.hwang at intel.com> wrote:
> 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 agree as well.
>
> 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?
Canvas throws a lot actually but I am open for option 2 as well.
Greetings,
Dirk
>
> Br, DS
More information about the whatwg
mailing list