Expand description

UI scaling utilities.

Structs

A position represented in logical pixels.
A size represented in logical pixels.
A position represented in physical pixels.
A size represented in physical pixels.

Enums

A position that’s either physical or logical.
A size that’s either physical or logical.

Traits

Functions

Checks that the scale factor is a normal positive f64.