Movie::TranslateLocalToScreen

Movie::TranslateLocalToScreen
virtual bool TranslateLocalToScreen(const char* pathToCharacter, const Render::PointF& pt, Render::PointF* presPt, Matrix2F* userMatrix = 0) = 0;
Description

TranslateLocalToScreen translates the point in character's coordinate space to the point on screen (window). The returning value is in pixels of screen. This method writes the new point coordinates into presPt (value is in pixels of screen).

Parameters
Parameters 
Description 
const char* pathToCharacter 
Path to a MovieClip, TextField or Button, i.e. "_root.hud.mc" 
const Render::PointF& pt 
Point, in pixels, in the coordinate space of the character, specified by the pathToCharacter. 
Render::PointF* presPt 
Resulting point in pixels, screen coordinate space. 
Matrix2F* userMatrix = 0 
The renderer matrix. 
Return Value

Returns false if the character is not found, otherwise true.