Function mupdf_sys::fz_bound_shade[][src]

pub unsafe extern "C" fn fz_bound_shade(
    ctx: *mut fz_context,
    shade: *mut fz_shade,
    ctm: fz_matrix
) -> fz_rect

Bound a given shading.

shade: The shade to bound.

ctm: The transform to apply to the shade before bounding.

r: Pointer to storage to put the bounds in.

Returns r, updated to contain the bounds for the shading.