On Jun 6, 2014, at 12:28 AM, Robert O'Callahan <rob...@ocallahan.org> wrote:

> On Fri, Jun 6, 2014 at 9:57 AM, Dirk Schulze <dschu...@adobe.com> wrote:
> :) would be short enough I guess. But doesn’t sound serious enough.
> 
> translateSelf?
> 
> Rob
> -- 
> Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni le 
> atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa 
> stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr, 
> 'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp  
> waanndt  wyeonut  thoo mken.o w  

On Jun 6, 2014, at 12:28 AM, Robert O'Callahan <rob...@ocallahan.org> wrote:

> On Fri, Jun 6, 2014 at 9:57 AM, Dirk Schulze <dschu...@adobe.com> wrote:
> :) would be short enough I guess. But doesn’t sound serious enough.
> 
> translateSelf?

On Jun 6, 2014, at 12:29 AM, Robert O'Callahan <rob...@ocallahan.org> wrote:

> On Fri, Jun 6, 2014 at 10:28 AM, Robert O'Callahan <rob...@ocallahan.org> 
> wrote:
> On Fri, Jun 6, 2014 at 9:57 AM, Dirk Schulze <dschu...@adobe.com> wrote:
> :) would be short enough I guess. But doesn’t sound serious enough.
> 
> translateSelf?
> 
> Or translateThis of course.

Do you mean transform instead of translate? After all, the proposal seems to be 
that we check all functions if they modify the matrix or not?

Beside the name, there seems to be another open question. The default 
constructor

        DOMMatrix();

is identity and we can flag it as that. What about

        DOMMatrix(1,0,0,1,0,0) or
        DOMMatrix(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)

Do we check the values and determine if the matrix is identity or not? If we 
do, then authors could write DOMMatrix(other.a, other.b, other.c, other.d, 
other.e, other.f) and check any kind of matrix after transforming for identity. 
In this case, a real isIdentity check wouldn’t be worst IMO.

Greetings,
Dirk
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to