MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getUiRect

Method getUiRect

src/OpenLoco/src/Graphics/RenderTarget.cpp:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 }
14
15 Ui::Rect RenderTarget::getUiRect() const
16 {
17 return Ui::Rect::fromLTRB(x, y, x + width, y + height);
18 }
19
20 // 0x004CEC50
21 std::optional<RenderTarget> clipRenderTarget(const RenderTarget& src, const Ui::Rect& newRect)

Callers 4

renderMethod · 0.45
clipRenderTargetFunction · 0.45
drawCircleFunction · 0.45
drawLineFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected