Package: cairo
Function cairo-image-surface-data
Lambda Listcairo-image-surface-data (surface) ArgumentsReturn Value A pointer to the image data of this surface or NULL if surface is not an image surface, or if the function cairo-surface-finish has been
called. Details
Get a pointer to the data of the image surface, for direct inspection or
modification. A call to the function cairo-surface-flush is required before accessing the pixel data to ensure that all pending drawing operations are finished. A call to the function cairo-surface-mark-dirty is required after the data is modified. | See also |
2020-12-21