Function lotus_script_sys::font::text_len
source · pub unsafe extern "C" fn text_len(
font: u64,
text: u64,
letter_spacing: i32
) -> i32
Expand description
Returns: -1 if the font is not loaded. Returns: >0 is the width of the text.