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

Method getScaleY

core/ui/UIWidget.cpp:1400–1408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1398}
1399
1400float Widget::getScaleY() const
1401{
1402 float originalScale = Node::getScaleY();
1403 if (_flippedY)
1404 {
1405 originalScale = originalScale * -1.0f;
1406 }
1407 return originalScale;
1408}
1409
1410float Widget::getScale() const
1411{

Callers 15

setFlippedYMethod · 0.95
getScaleMethod · 0.95
copyPropertiesMethod · 0.45
createControlsMethod · 0.45
formatTextMethod · 0.45
handleImageRendererMethod · 0.45
getScale2DFunction · 0.45
getNodeTopYFunction · 0.45
getNodeBottomYFunction · 0.45

Calls 1

getScaleYFunction · 0.85

Tested by

no test coverage detected