cairo_image_surface_write_array.Rd
int cairo_image_surface_write_robj(cairo_surface_t * surface, unsigned char *data, int width, int height)
cairo_image_surface_write_array(surface, arr, maxval = 1)
surface | cairo surface |
---|---|
arr | matrix, RGB array or RGBA array. numeric/double/real values only |
maxval | maximum value of colour representation. Usually 1. |