DVUI

windowRectPixels

Get the OS window size in pixels. See windowRect.

Pixels is the unit for rendering and user input.

Only valid between Window.beginand Window.end.

Source

Implementation

#
pub fn windowRectPixels() Rect.Physical {
    return currentWindow().rect_pixels;
}