cairo_set_target_image3cairo_set_target_imageset image for painting operations
void cairo_set_target_image (cairo_t *cr,char *data, cairo_format_t format, int width, int height, int stride)cr :a cairo_tdata :pointer to an user-allocated buffer of appropriate sizeformat :select color-format of imagewidth, heightwidth and height describe the visibles image size.stridestride is the actual with of the image and can be larger than with. It is requiered even if stride is equal to with.Descriptionfunctionscairo_set_target_image