cairo.RasterSource

Public Imports

cairo.c.types
public import cairo.c.types;

Members

Classes

RasterSource
class RasterSource

The raster source provides the ability to supply arbitrary pixel data whilst rendering. The pixels are queried at the time of rasterisation by means of user callback functions, allowing for the ultimate flexibility. For example, in handling compressed image sources, you may keep a MRU cache of decompressed images and decompress sources on the fly and discard old ones to conserve memory.