gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] does _height work??


From: strk
Subject: Re: [Gnash-dev] does _height work??
Date: Wed, 11 Oct 2006 15:32:17 +0200

On Wed, Oct 11, 2006 at 03:19:16PM +0200, Udo Giacomozzi wrote:

> It should be unnecessary to add 1 to the result as this still are
> twips (float value).

Ehm.. beside, why are we using floats for twips ?
I tought the 'twip' choice was specifically made by MM to make
computations faster using integers...

> MG>   I am assuming that callers of these functions want overall width and
> MG> overall height of the transformed characters, though I don't see how
> MG> that information is very useful on its own,
> 
> Indeed, I can think of no real example, though it may be useful when
> you really need the height (on screen) of a sprite.

Yes, it *is* useful in ActionScript, to layout objects on screen.

--strk;




reply via email to

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