MCPcopy Create free account
hub / github.com/MyGUI/mygui / setRealPosition

Method setRealPosition

MyGUIEngine/src/MyGUI_Widget.cpp:591–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589 }
590
591 void Widget::setRealPosition(const FloatPoint& _point)
592 {
593 setPosition(CoordConverter::convertFromRelative(
594 _point,
595 mCroppedParent == nullptr ? RenderManager::getInstance().getViewSize() : mCroppedParent->getSize()));
596 }
597
598 void Widget::setRealSize(const FloatSize& _size)
599 {

Calls 5

setPositionFunction · 0.85
convertFromRelativeFunction · 0.85
FloatPointFunction · 0.50
getViewSizeMethod · 0.45
getSizeMethod · 0.45

Tested by

no test coverage detected