MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / relativeBoundRect

Method relativeBoundRect

source/windowing/StarWidget.cpp:109–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109RectI Widget::relativeBoundRect() const {
110 return RectI::withSize(relativePosition(), size());
111}
112
113RectI Widget::screenBoundRect() const {
114 return relativeBoundRect().translated(screenPosition() - relativePosition());

Callers 1

contentBoundRectMethod · 0.45

Calls 1

sizeFunction · 0.85

Tested by

no test coverage detected