Function ImageSurface.getData

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

Prototype

ubyte* getData();

Warning

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

Authors

Johannes Pfau cairoD
Andrej Mitrovic cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1