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

Method setRealCoord

MyGUIEngine/src/MyGUI_Widget.cpp:605–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603 }
604
605 void Widget::setRealCoord(const FloatCoord& _coord)
606 {
607 setCoord(CoordConverter::convertFromRelative(
608 _coord,
609 mCroppedParent == nullptr ? RenderManager::getInstance().getViewSize() : mCroppedParent->getSize()));
610 }
611
612 void Widget::_setAlign(const IntSize& _oldsize, const IntSize& _newSize)
613 {

Calls 5

setCoordFunction · 0.85
convertFromRelativeFunction · 0.85
FloatCoordFunction · 0.50
getViewSizeMethod · 0.45
getSizeMethod · 0.45

Tested by

no test coverage detected