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

Method initDrawNode

tests/cpp-tests/Source/LabelTest/LabelTest.cpp:2813–2820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2811}
2812
2813void LabelLayoutBaseTest::initDrawNode(const ax::Size& size)
2814{
2815 _drawNode = DrawNode::create();
2816
2817 _drawNode->setTag(3);
2818 addChild(_drawNode);
2819 this->updateDrawNodeSize(_label->getContentSize());
2820}
2821
2822void LabelLayoutBaseTest::setAlignmentLeft(Object* sender)
2823{

Callers 1

LabelLayoutBaseTestMethod · 0.95

Calls 4

updateDrawNodeSizeMethod · 0.95
createFunction · 0.85
setTagMethod · 0.80
getContentSizeMethod · 0.45

Tested by

no test coverage detected