#cairo_write_func_t is the type of function which is called when a
backend needs to write data to an output stream. It is passed the
closure which was specified by the user at the time the write
function was registered, the data to write and the length of the
data in bytes. The write function should return
cairo.types.Status.Success if all the data was successfully written,
cairo.types.Status.WriteError otherwise.
#cairo_write_func_t is the type of function which is called when a backend needs to write data to an output stream. It is passed the closure which was specified by the user at the time the write function was registered, the data to write and the length of the data in bytes. The write function should return cairo.types.Status.Success if all the data was successfully written, cairo.types.Status.WriteError otherwise.