Re: [whatwg] Singular CTM and currentTransform

On Mar 26, 2014, at 1:07 PM, Hwang, Dongseong <dongseong.hwang@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

Received on Wednesday, 26 March 2014 14:34:10 UTC