MCPcopy Create free account
hub / github.com/axmolengine/axmol / getScale

Method getScale

core/ui/UIWidget.cpp:1410–1414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1408}
1409
1410float Widget::getScale() const
1411{
1412 AXASSERT(this->getScaleX() == this->getScaleY(), "scaleX should be equal to scaleY.");
1413 return this->getScaleX();
1414}
1415
1416/*temp action*/
1417void Widget::setActionTag(int tag)

Callers 2

setNativeFontMethod · 0.45
nativeOpenKeyboardMethod · 0.45

Calls 2

getScaleXMethod · 0.95
getScaleYMethod · 0.95

Tested by

no test coverage detected