cairo_set_target_image 3 cairo_set_target_image set 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_t data : pointer to an user-allocated buffer of appropriate size format : select color-format of image width, height width and height describe the visibles image size. stride stride is the actual with of the image and can be larger than with. It is requiered even if stride is equal to with. Description functions cairo_set_target_image