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

Function _checkOutside

MyGUIEngine/include/MyGUI_ICroppedRectangle.h:234–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232 }
233
234 bool _checkOutside() const // проверка на полный выход за границу
235 {
236 return (
237 (getRight() < mCroppedParent->mMargin.left) || // совсем уехали налево
238 (getLeft() > mCroppedParent->getWidth() - mCroppedParent->mMargin.right) || // совсем уехали направо
239 (getBottom() < mCroppedParent->mMargin.top) || // совсем уехали вверх
240 (getTop() > mCroppedParent->getHeight() - mCroppedParent->mMargin.bottom)); // совсем уехали вниз
241 }
242
243 protected:
244 IntRect mMargin; // перекрытие

Callers 7

_updateViewMethod · 0.85
_updateViewMethod · 0.85
_updateViewMethod · 0.85
_updateViewMethod · 0.85
_updateViewMethod · 0.85
setSizeMethod · 0.85
setCoordMethod · 0.85

Calls 6

getRightFunction · 0.85
getLeftFunction · 0.85
getBottomFunction · 0.85
getTopFunction · 0.85
getWidthMethod · 0.45
getHeightMethod · 0.45

Tested by

no test coverage detected