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

Method setRealSize

MyGUIEngine/src/MyGUI_Widget.cpp:598–603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596 }
597
598 void Widget::setRealSize(const FloatSize& _size)
599 {
600 setSize(CoordConverter::convertFromRelative(
601 _size,
602 mCroppedParent == nullptr ? RenderManager::getInstance().getViewSize() : mCroppedParent->getSize()));
603 }
604
605 void Widget::setRealCoord(const FloatCoord& _coord)
606 {

Callers 4

SetRealSizeFunction · 0.80

Calls 5

setSizeFunction · 0.85
convertFromRelativeFunction · 0.85
FloatSizeFunction · 0.50
getViewSizeMethod · 0.45
getSizeMethod · 0.45

Tested by

no test coverage detected