Function mupdf_sys::fz_paint_shade

source ·
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,
    cache: *mut *mut fz_shade_color_cache
)
Expand description

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.

eop: NULL, or pointer to overprint bitmap.

cache: *cache is used to cache color information. If *cache is NULL it is set to point to a new fz_shade_color_cache. If cache is NULL it is ignored.