Function mupdf_sys::fz_colorspace_name_colorant[][src]

pub unsafe extern "C" fn fz_colorspace_name_colorant(
    ctx: *mut fz_context,
    cs: *mut fz_colorspace,
    n: c_int,
    name: *const c_char
)

Assign a name for a given colorant in a colorspace.

Used while initially setting up a colorspace. The string is copied into local storage, so need not be retained by the caller.