Skip to main content

PIXELS_PER_POINT

Constant PIXELS_PER_POINT 

Source
const PIXELS_PER_POINT: f32 = 1.0;
Expand description

Text is laid out resolution-independently, so no display’s DPI is baked into what the layout says.