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

Method getFrameWidth

core/base/NinePatchImageParser.cpp:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59int NinePatchImageParser::getFrameWidth() const
60{
61 if (_isRotated)
62 {
63 return _imageFrame.size.height;
64 }
65 return _imageFrame.size.width;
66}
67
68int NinePatchImageParser::getPixelOriginOffset(Direction direction) const
69{

Callers 2

getPixelOriginOffsetMethod · 0.95
parseHorizontalMarginMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected