unsigned char * cairo_image_surface_get_data (cairo_surface_t *surface)

cairo_image_surface_get_raster(surface, nchannel = 4)

Arguments

surface

cairo_surface_t *

nchannel

1 = grey, 3 = rgb, 4 = rgba

Value

raster object

See also