Function nannou::text::f32_pt_to_px

source ·
pub fn f32_pt_to_px(font_size_in_points: f32) -> f32
Expand description

Converts the given font size in “points” to its font size in pixels. This is useful for when the font size is not an integer.