RasterSourceSnapshotFunc

#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.

alias RasterSourceSnapshotFunc = cairo.types.Status delegate

Return Value

CAIRO_STATUS_SUCCESS on success, or one of the #cairo_status_t error codes for failure.