Movie::TranslateToScreen

Movie::TranslateToScreen
virtual Render::PointF TranslateToScreen(const Render::PointF& p, Matrix2F* puserMatrix = 0) = 0;
virtual RectF TranslateToScreen(const RectF& p, Matrix2F* puserMatrix = 0) = 0;
Description

TranslateToScreen translates the point/rectangle in Flash coordinates to screen (window) coordinates. These methods takes into account the world matrix of root, the viewport matrix and the user matrix from the renderer. Source coordinates should be in _root coordinate space, in pixels.

Parameters
Parameters 
Description 
const Render::PointF& p 
The point/rectangle whose coordinates are translated. 
Matrix2F* puserMatrix = 0 
The renderer matrix. 
Return Value

The translated point/rectangle in window coordinates.