[−][src]Function mupdf_sys::fz_paint_shade
pub unsafe extern "C" fn fz_paint_shade(
ctx: *mut fz_context,
shade: *mut fz_shade,
override_cs: *mut fz_colorspace,
ctm: fz_matrix,
dest: *mut fz_pixmap,
color_params: fz_color_params,
bbox: fz_irect,
eop: *const fz_overprint
)
Render a shade to a given pixmap.
shade: The shade to paint.
override_cs: NULL, or colorspace to override the shades inbuilt colorspace.
ctm: The transform to apply.
dest: The pixmap to render into.
color_params: The color rendering settings
bbox: Pointer to a bounding box to limit the rendering of the shade.
op: NULL, or pointer to overprint bitmap.