22.3 Images

Images are handled by the device functions to plot images. See chapter 24 Image Internals for more information.

void fz_fill_image(fz_context *ctx, fz_device *dev, fz_image *image, const fz_matrix *ctm, float alpha, const fz_color_params *color_params); 
void fz_fill_image_mask(fz_context *ctx, fz_device *dev, fz_image *image, const fz_matrix *ctm, fz_colorspace *colorspace, const float *color, float alpha, const fz_color_params *color_params); 
void fz_clip_image_mask(fz_context *ctx, fz_device *dev, fz_image *image, const fz_matrix *ctm, const fz_rect *scissor);

The fz_clip_image_mask function is used to start a clip. Subsequent operations will be clipped through the area delimited by this, until a fz_pop_clip is seen. See section 22.5 Clipping and Masking for more details.