MCPcopy Create free account
hub / github.com/MyGUI/mygui / setImageCoord

Method setImageCoord

MyGUIEngine/src/MyGUI_ImageBox.cpp:58–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 }
57
58 void ImageBox::setImageCoord(const IntCoord& _coord)
59 {
60 mRectImage.left = _coord.left;
61 mRectImage.top = _coord.top;
62 mRectImage.right = _coord.left + _coord.width;
63 mRectImage.bottom = _coord.top + _coord.height;
64
65 setImageRect(mRectImage);
66 }
67
68 void ImageBox::setImageRect(const IntRect& _rect)
69 {

Callers 7

setTextureRegionMethod · 0.80
setTextureRegionMethod · 0.80
rebuildAnimationsMethod · 0.80
updateFrameMethod · 0.80
updateSelectedFrameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected