Type Definition mupdf_sys::fz_bidi_fragment_fn

source ·
pub type fz_bidi_fragment_fn = Option<unsafe extern "C" fn(fragment: *const u32, fragmentLen: usize, bidiLevel: c_int, script: c_int, arg: *mut c_void)>;
Expand description

Prototype for callback function supplied to fz_bidi_fragment_text.

@param fragment first character in fragment @param fragmentLen number of characters in fragment @param bidiLevel The bidirectional level for this text. The bottom bit will be set iff block should concatenate with other blocks as right-to-left @param script the script in use for this fragment (other than common or inherited) @param arg data from caller of Bidi_fragmentText