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

Method getScaleX

core/ui/UIWidget.cpp:1390–1398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1388}
1389
1390float Widget::getScaleX() const
1391{
1392 float originalScale = Node::getScaleX();
1393 if (_flippedX)
1394 {
1395 originalScale = originalScale * -1.0f;
1396 }
1397 return originalScale;
1398}
1399
1400float Widget::getScaleY() const
1401{

Callers 15

setFlippedXMethod · 0.95
getScaleMethod · 0.95
copyPropertiesMethod · 0.45
formatTextMethod · 0.45
handleImageRendererMethod · 0.45
getScale2DFunction · 0.45
getNodeLeftXFunction · 0.45
getNodeRightXFunction · 0.45
setNodeGroupSizeMethod · 0.45

Calls 1

getScaleXFunction · 0.85

Tested by

no test coverage detected