Function carbide_core::text::pt_to_scale[][src]

pub fn pt_to_scale(font_size_in_points: FontSize) -> Scale

Converts the given font size in "points" to a uniform rusttype::Scale.