Function mupdf_sys::fz_clone_stroke_state[][src]

pub unsafe extern "C" fn fz_clone_stroke_state(
    ctx: *mut fz_context,
    stroke: *mut fz_stroke_state
) -> *mut fz_stroke_state

Create an identical stroke_state structure and return a reference to it.

stroke: The stroke state reference to clone.

Exceptions may be thrown in the event of a failure to allocate.