Type Definition mupdf_sys::fz_shade_prepare_fn

source ·
pub type fz_shade_prepare_fn = Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, v: *mut fz_vertex, c: *const f32)>;
Expand description

Callback function type for use with fz_process_shade.

arg: Opaque pointer from fz_process_shade caller.

v: Pointer to a fz_vertex structure to populate.

c: Pointer to an array of floats used to populate v.