Skip to main content

FamilyStyledTextMeasurementCallback

Type Alias FamilyStyledTextMeasurementCallback 

Source
pub type FamilyStyledTextMeasurementCallback = fn(&str, f32, f32, Option<f32>, bool, AtomId, FontWeight, FontStyle) -> (f32, f32);
Expand description

Global styled text measurer callback that also receives the requested font family atom.