Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1359
void Widget::setScaleX(float scaleX)
1360
{
1361
if (_flippedX)
1362
{
1363
scaleX = scaleX * -1;
1364
}
1365
Node::setScaleX(scaleX);
1366
}
1367
1368
void Widget::setScaleY(float scaleY)
1369
{
Callers
15
setFlippedX
Method · 0.95
setScale
Method · 0.95
onPressStateChangedToNormal
Method · 0.45
onPressStateChangedToPressed
Method · 0.45
barRendererScaleChangedWithSize
Method · 0.45
setWidth
Method · 0.45
onPressStateChangedToNormal
Method · 0.45
MyXMLVisitor
Method · 0.45
formatText
Method · 0.45
handleImageRenderer
Method · 0.45
labelAtlasScaleChangedWithSize
Method · 0.45
onPressStateChangedToNormal
Method · 0.45
Calls
1
setScaleX
Function · 0.70
Tested by
no test coverage detected