virtual Render::PointF TranslateToScreen(const Render::PointF& p, Matrix2F* puserMatrix = 0) = 0; virtual RectF TranslateToScreen(const RectF& p, Matrix2F* puserMatrix = 0) = 0;
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 |
Description |
const Render::PointF& p |
The point/rectangle whose coordinates are translated. |
Matrix2F* puserMatrix = 0 |
The renderer matrix. |
The translated point/rectangle in window coordinates.