MCPcopy Create free account
hub / github.com/ZDoom/Raze / GetWindowFrame

Method GetWindowFrame

libraries/ZWidget/src/window/win32/win32window.cpp:264–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264Rect Win32Window::GetWindowFrame() const
265{
266 RECT box = {};
267 GetWindowRect(WindowHandle, &box);
268 double dpiscale = GetDpiScale();
269 return Rect(box.left / dpiscale, box.top / dpiscale, box.right / dpiscale, box.bottom / dpiscale);
270}
271
272Size Win32Window::GetClientSize() const
273{

Callers 1

GetFrameGeometryMethod · 0.45

Calls 1

RectClass · 0.50

Tested by

no test coverage detected