A Layer that lays out and renders widgets in screen-relative coordinates. The "Size" property determines the size of the virtual screen, which is then upscaled to the real screen size during rendering. The aspect ratio is kept intact, adding blanks to the sides when necessary.
More...
#include <scalinglayer.hpp>
A Layer that lays out and renders widgets in screen-relative coordinates. The "Size" property determines the size of the virtual screen, which is then upscaled to the real screen size during rendering. The aspect ratio is kept intact, adding blanks to the sides when necessary.
void osgMyGUI::ScalingLayer::deserialization |
( |
MyGUI::xml::ElementPtr |
_node, |
|
|
MyGUI::Version |
_version |
|
) |
| |
|
virtual |
MyGUI::ILayerItem * osgMyGUI::ScalingLayer::getLayerItemByPoint |
( |
int |
_left, |
|
|
int |
_top |
|
) |
| const |
|
virtual |
MyGUI::IntPoint osgMyGUI::ScalingLayer::getPosition |
( |
int |
_left, |
|
|
int |
_top |
|
) |
| const |
|
virtual |
float osgMyGUI::ScalingLayer::getScaleFactor |
( |
| ) |
const |
|
private |
void osgMyGUI::ScalingLayer::renderToTarget |
( |
MyGUI::IRenderTarget * |
_target, |
|
|
bool |
_update |
|
) |
| |
|
virtual |
void osgMyGUI::ScalingLayer::resizeView |
( |
const MyGUI::IntSize & |
_viewSize | ) |
|
|
virtual |
void osgMyGUI::ScalingLayer::screenToLayerCoords |
( |
int & |
_left, |
|
|
int & |
_top |
|
) |
| const |
|
private |
The documentation for this class was generated from the following files: