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

Method init

core/ui/UIScale9Sprite.cpp:186–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186bool Scale9Sprite::init()
187{
188 // calls super
189 bool ret = Sprite::init();
190 setupSlice9(getTexture(), Rect::ZERO);
191 return ret;
192}
193
194bool Scale9Sprite::init(Sprite* sprite, const Rect& rect, const Rect& capInsets)
195{

Callers 2

createMethod · 0.45

Calls 5

initFunction · 0.50
getTextureFunction · 0.50
getTextureMethod · 0.45
equalsMethod · 0.45
getContentSizeMethod · 0.45

Tested by

no test coverage detected