virtual void MakeAreaVisible(const Render::RectF& screenRect, const Render::RectF& box, UInt32 flags = 0) = 0;
MakeAreaVisible scrolls viewport to make 'box' fully visible inside the 'screenRect'. This method changes Viewport matrix; if viewport is reset all changes done by this method are lost. The viewport matrix can be forcefully reset to its original state by calling RestoreViewport.
Parameters |
Description |
const Render::RectF& screenRect |
Represents a rectangle in screen pixels |
const Render::RectF& box |
Represents the area that should become visible, in stage pixel coordinates |
UInt32 flags = 0 |
bit flags |