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

Method setScaleX

core/ui/UIWidget.cpp:1359–1366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1357}
1358
1359void Widget::setScaleX(float scaleX)
1360{
1361 if (_flippedX)
1362 {
1363 scaleX = scaleX * -1;
1364 }
1365 Node::setScaleX(scaleX);
1366}
1367
1368void Widget::setScaleY(float scaleY)
1369{

Callers 15

setFlippedXMethod · 0.95
setScaleMethod · 0.95
setWidthMethod · 0.45
MyXMLVisitorMethod · 0.45
formatTextMethod · 0.45
handleImageRendererMethod · 0.45

Calls 1

setScaleXFunction · 0.70

Tested by

no test coverage detected