Function mupdf_sys::fz_default_halftone[][src]

pub unsafe extern "C" fn fz_default_halftone(
    ctx: *mut fz_context,
    num_comps: c_int
) -> *mut fz_halftone

Create a ‘default’ halftone structure for the given number of components.

num_comps: The number of components to use.

Returns a simple default halftone. The default halftone uses the same halftone tile for each plane, which may not be ideal for all purposes.