Function mupdf_sys::fz_new_stroke_state_with_dash_len
source · pub unsafe extern "C" fn fz_new_stroke_state_with_dash_len(
ctx: *mut fz_context,
len: c_int
) -> *mut fz_stroke_state
Expand description
Create a new (empty) stroke state structure, with room for dash data of the given length, and return a reference to it.
len: The number of dash elements to allow room for.
Throws exception on failure to allocate.