Skip to main content

fz_closepath

Function fz_closepath 

Source
pub unsafe extern "C" fn fz_closepath(
    ctx: *mut fz_context,
    path: *mut fz_path,
)
Expand description

Close the current subpath.

path: The path to modify.

Throws exceptions on failure to allocate, attempting to modify
a packed path, and illegal path closes (i.e. closing a non open
path).