The OpenD Programming Language

ImageSurface.getData

Get a pointer to the data of the image surface, for direct inspection or modification.

Warning: There's no way to get the size of the buffer from cairo, so you'll only get a ubyte*. Be careful!

class ImageSurface
ubyte*
getData
()

Meta