#cairo_destroy_func_t the type of function which is called when a data element is destroyed. It is passed the pointer to the data element and should free any memory and resources allocated for it.
#cairo_raster_source_acquire_func_t is the type of function which is called when a pattern is being rendered from. It should create a surface that provides the pixel data for the region of interest as defined by extents, though the surface itself does not have to be limited to that area. For convenience the surface should probably be of image type, created with cairo.surface.Surface.createSimilarImage for the target (which enables the number of copies to be reduced during transfer to the device). Another option, might be to return a similar surface to the target for explicit handling by the application of a set of cached sources on the device. The region of sample data provided should be defined using cairo.surface.Surface.setDeviceOffset to specify the top-left corner of the sample data (along with width and height of the surface).
#cairo_raster_source_copy_func_t is the type of function which is called when the pattern gets copied as a normal part of rendering.
#cairo_raster_source_finish_func_t is the type of function which is called when the pattern (or a copy thereof) is no longer required.
#cairo_raster_source_release_func_t is the type of function which is called when the pixel data is no longer being access by the pattern for the rendering operation. Typically this function will simply destroy the surface created during acquire.
#cairo_raster_source_snapshot_func_t is the type of function which is called when the pixel data needs to be preserved for later use during printing. This pattern will be accessed again later, and it is expected to provide the pixel data that was current at the time of snapshotting.
#cairo_read_func_t is the type of function which is called when a backend needs to read data from an input stream. It is passed the closure which was specified by the user at the time the read function was registered, the buffer to read the data into and the length of the data in bytes. The read function should return cairo.types.Status.Success if all the data was successfully read, cairo.types.Status.ReadError otherwise.
A generic callback function for surface operations.
#cairo_user_scaled_font_init_func_t is the type of function which is called when a scaled-font needs to be created for a user font-face.
#cairo_user_scaled_font_render_glyph_func_t is the type of function which is called when a user scaled-font needs to render a glyph.
#cairo_user_scaled_font_unicode_to_glyph_func_t is the type of function which is called to convert an input Unicode character to a single glyph. This is used by the cairo.context.Context.showText operation.
#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.
The default color palette index.
Group 3 or Group 4 CCITT facsimile encoding (International Telecommunication Union, Recommendations T.4 and T.6.)
Decode parameters for Group 3 or Group 4 CCITT facsimile encoding. See [CCITT Fax Images]ccitt.
Encapsulated PostScript file. Encapsulated PostScript File Format Specification
Embedding parameters Encapsulated PostScript data. See [Embedding EPS files]eps.
Joint Bi-level Image Experts Group image coding standard (ISO/IEC 11544).
Joint Bi-level Image Experts Group image coding standard (ISO/IEC 11544) global segment.
An unique identifier shared by a JBIG2 global segment and all JBIG2 images that depend on the global segment.
The Joint Photographic Experts Group (JPEG) 2000 image coding standard (ISO/IEC 15444-1).
The Joint Photographic Experts Group (JPEG) image coding standard (ISO/IEC 10918-1).
The Portable Network Graphics image file format (ISO/IEC 15948).
Unique identifier for a surface (cairo specific MIME type). All surfaces with the same unique identifier will only be embedded once.
URI for an image file (unofficial MIME type).
The root outline item in cairo.global.pdfSurfaceAddOutline.
Create a content tag.
Create a content reference tag.
Create a destination for a hyperlink. Destination tag attributes are detailed at Destinationsdest.