Function mupdf_sys::fz_trim_path
source · pub unsafe extern "C" fn fz_trim_path(
ctx: *mut fz_context,
path: *mut fz_path
)
Expand description
Minimise the internal storage used by a path.
As paths are constructed, the internal buffers grow. To avoid repeated reallocations they grow with some spare space. Once a path has been fully constructed, this call allows the excess space to be trimmed.