Function nannou::text::f32_pt_to_scale
source · pub fn f32_pt_to_scale(font_size_in_points: f32) -> Scale
Expand description
Converts the given font size in “points” to a uniform rusttype::Scale
.
This is useful for when the font size is not an integer.