Get a pointer to the data of the image surface, for direct inspection or modification.
A call to cairo.surface.Surface.flush is required before accessing the pixel data to ensure that all pending drawing operations are finished. A call to cairo.surface.Surface.markDirty is required after the data is modified.
a #cairo_image_surface_t
a pointer to the image data of this surface or null if surface is not an image surface, or if cairo.surface.Surface.finish has been called.
Get a pointer to the data of the image surface, for direct inspection or modification.
A call to cairo.surface.Surface.flush is required before accessing the pixel data to ensure that all pending drawing operations are finished. A call to cairo.surface.Surface.markDirty is required after the data is modified.