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

Method snapArrowsToEdge

tests/cpp-tests/Source/LabelTest/LabelTest.cpp:825–829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

823}
824
825void LabelFNTMultiLineAlignment::snapArrowsToEdge()
826{
827 this->_arrows->setPosition(
828 Vec2(this->_label->getPosition().x + this->_label->getContentSize().width / 2, this->_label->getPosition().y));
829}
830
831/// LabelFNTMultiLineAlignmentUNICODE
832

Callers 4

initMethod · 0.95
stringChangedMethod · 0.95
alignmentChangedMethod · 0.95
onTouchesEndedMethod · 0.95

Calls 4

Vec2Function · 0.50
setPositionMethod · 0.45
getPositionMethod · 0.45
getContentSizeMethod · 0.45

Tested by

no test coverage detected