gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] member names


From: Udo Giacomozzi
Subject: Re: [Gnash-dev] member names
Date: Thu, 8 May 2008 10:02:42 +0200

Hello zou,

Thursday, May 8, 2008, 3:33:20 AM, you wrote:
zl> getLocalTransformationMatrix()
zl> getLocalCxform()

basically agree, but I fear these changes involve massive code
changes...!?


zl> getGlobalTransformationMatrix()
zl> getGlobalCxform()

"global" would imply to me that this is a matrix that is globally
applied to any character (like a "master matrix") - *additionally* to
it's local matrix and of it's parents. still prefer the term "world"
in this case. Or perhaps "getFinalTransformationMatrix"()

very long name, btw..


zl> // get the stage matrix required for mapping characters calculated
zl> from SWF to GUI
zl> getStageMatrix()

here we come back to the original discussion, which is about "stage
matrix" being ambiguous (matrix TWIPS<->mouse or TWIPS<->renderer?)

we could also have a

  TWIPS <-> GUI <-> renderer

scenario, where "<->" is a matrix. But this would add one additional
matrix concatenation for each character during rendering.

zl> The problem for "world" is that it is a too general word, thus you can
zl> assign it random meanings according to your own background
zl> knowledge(not from Flash directly). When the meaning is not so obvious
zl> to the others, it just confuses people.

Probably. But I would feel safe if we define "world" to describe
completely transformed coordinates in TWIPS.


Udo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]