Skip to main content

FamilyTextMeasurementCallback

Type Alias FamilyTextMeasurementCallback 

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

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