DVUI

windowRectScale

Get the Rect and scale factor for the OS window. The Rect is in pixels, and the scale factor is how many pixels per natural pixel. See windowRect.

Only valid between Window.beginand Window.end.

Source

Implementation

#
pub fn windowRectScale() RectScale {
    return currentWindow().rectScale();
}