gnash-dev
[Top][All Lists]
Advanced

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

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


From: Udo Giacomozzi
Subject: Re[4]: [Gnash-dev] does _height work??
Date: Wed, 11 Oct 2006 13:47:25 +0200

Hello Martin,

Wednesday, October 11, 2006, 1:39:05 PM, you wrote:
>>     virtual float       get_height() const
>>         {
>>             matrix      m = get_world_matrix();
>> -           float       h = m_def->get_height_local() * m.m_[1][1];
>> +           float       h = m_def->get_height_local() * m.get_y_scale();
>>             return h;
>>         }
MG> erm, without knowing what it means by "height" in this context I can't
MG> say, and what m_def is, and what information it's trying to create.
MG> Out of context I have no way of knowing.

I think that's the function used for the ActionScript _height
property, right? Then get_height() should return the height (in twips)
of the character instance after applying the transformation matrix.


Udo





reply via email to

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