cairo_image_surface_get_array.Rd
unsigned char * cairo_image_surface_get_data (cairo_surface_t *surface)
cairo_image_surface_get_array(surface, nchannel = 4)
surface |
|
---|---|
nchannel | 1 = grey, 3 = rgb, 4 = rgba |
matrix or array of real numbers in range [0, 1]