Simp module

get_pixel_scale

procedure · 1 overloadsince 0.31.0Source

Device pixels per window coordinate unit (2 on a Retina display).

get_pixel_scale :: (window: Window_Type) -> float

Device pixels per window coordinate unit (2 on a Retina display).

Parameters

window: Window_Type

Returns

float

See also