Image Surfaces Rendering to memory buffers Image surfaces provide the ability to render to memory buffers either allocated by cairo or by the calling code. The supported image formats are those defined in #cairo_format_t. #cairo_surface_t Defined if the image surface backend is available. The image surface backend is always built in. This macro was added for completeness in cairo 1.8. @Since: 1.8 @CAIRO_FORMAT_ARGB32: @CAIRO_FORMAT_RGB24: @CAIRO_FORMAT_A8: @CAIRO_FORMAT_A1: @format: @width: @Returns: @format: @width: @height: @Returns: @data: @format: @width: @height: @stride: @Returns: @surface: @Returns: @surface: @Returns: @surface: @Returns: @surface: @Returns: @surface: @Returns: