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

Function convertRectToCoord

MyGUIEngine/src/MyGUI_BackwardCompatibility.cpp:1072–1077  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1070 }
1071
1072 static std::string convertRectToCoord(std::string_view _value)
1073 {
1074 IntRect rect = IntRect::parse(_value);
1075 IntCoord coord(rect.left, rect.top, rect.width(), rect.height());
1076 return coord.print();
1077 }
1078
1079 using SetString = std::set<std::string, std::less<>>;
1080 static MapString mPropertyRename;

Callers 1

checkPropertyMethod · 0.85

Calls 4

parseFunction · 0.50
widthMethod · 0.45
heightMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected