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

Method setRect

core/2d/SpriteFrame.cpp:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171void SpriteFrame::setRect(const Rect& rect)
172{
173 _rect = rect;
174 _rectInPixels = AX_RECT_POINTS_TO_PIXELS(_rect);
175}
176
177void SpriteFrame::setRectInPixels(const Rect& rectInPixels)
178{

Callers 15

generateTrianglesMethod · 0.80
initializePolygonInfoMethod · 0.80
initWithSizeMethod · 0.80
setCapInsetsMethod · 0.80
scrollToViewMethod · 0.80
constructFromResourceMethod · 0.80
FUIContainer.cppFile · 0.80
setScale9GridMethod · 0.80
getBoundingBoxMethod · 0.80
getVisibleSkinsRectMethod · 0.80
getBoundingBoxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected