RasterSource.setSnapshot

Sets the callback that will be used whenever a snapshot is taken of the pattern, that is whenever the current contents of the pattern should be preserved for later use. This is typically invoked whilst printing. Since 1.12

class RasterSource
void
setSnapshot

Parameters

snapshot cairo_raster_source_snapshot_func_t

snapshot callback

Meta