#include <MyGUI_CoordConverter.h>
Static Public Member Functions | |
static FloatRect | convertTextureCoord (const IntCoord &_coord, const IntSize &_textureSize) |
static IntCoord | convertFromRelative (const FloatCoord &_coord, const IntSize &_view) |
static IntSize | convertFromRelative (const FloatSize &_size, const IntSize &_view) |
static IntPoint | convertFromRelative (const FloatPoint &_point, const IntSize &_view) |
static FloatCoord | convertToRelative (const IntCoord &_coord, const IntSize &_view) |
static FloatSize | convertToRelative (const IntSize &_size, const IntSize &_view) |
static FloatPoint | convertToRelative (const IntPoint &_point, const IntSize &_view) |
Definition at line 32 of file MyGUI_CoordConverter.h.
static IntCoord MyGUI::CoordConverter::convertFromRelative | ( | const FloatCoord & | _coord, | |
const IntSize & | _view | |||
) | [inline, static] |
Definition at line 49 of file MyGUI_CoordConverter.h.
static IntPoint MyGUI::CoordConverter::convertFromRelative | ( | const FloatPoint & | _point, | |
const IntSize & | _view | |||
) | [inline, static] |
Definition at line 65 of file MyGUI_CoordConverter.h.
static IntSize MyGUI::CoordConverter::convertFromRelative | ( | const FloatSize & | _size, | |
const IntSize & | _view | |||
) | [inline, static] |
Definition at line 57 of file MyGUI_CoordConverter.h.
static FloatRect MyGUI::CoordConverter::convertTextureCoord | ( | const IntCoord & | _coord, | |
const IntSize & | _textureSize | |||
) | [inline, static] |
Convert pixel coordinates to texture UV coordinates
Definition at line 36 of file MyGUI_CoordConverter.h.
static FloatPoint MyGUI::CoordConverter::convertToRelative | ( | const IntPoint & | _point, | |
const IntSize & | _view | |||
) | [inline, static] |
Definition at line 83 of file MyGUI_CoordConverter.h.
static FloatSize MyGUI::CoordConverter::convertToRelative | ( | const IntSize & | _size, | |
const IntSize & | _view | |||
) | [inline, static] |
Definition at line 78 of file MyGUI_CoordConverter.h.
static FloatCoord MyGUI::CoordConverter::convertToRelative | ( | const IntCoord & | _coord, | |
const IntSize & | _view | |||
) | [inline, static] |
Definition at line 73 of file MyGUI_CoordConverter.h.