cairo-Image-Surfaces {RGtk2} | R Documentation |
Rendering to memory buffers
cairoFormatStrideForWidth(format, width)
cairoImageSurfaceCreate(format, width, height)
cairoImageSurfaceCreateForData(data, format, width, height, stride)
cairoImageSurfaceGetData(surface)
cairoImageSurfaceGetFormat(surface)
cairoImageSurfaceGetWidth(surface)
cairoImageSurfaceGetHeight(surface)
cairoImageSurfaceGetStride(surface)
Image surfaces provide the ability to render to memory buffers
either allocated by cairo or by the calling code. The supported
image formats are those defined in CairoFormat
.
CairoFormat
CairoFormat
is used to identify the memory format of
image data.
New entries may be added in future versions.
argb32
rgb24
a8
a1
rgb16-565
Derived by RGtkGen from GTK+ documentation
http://www.cairographics.org/manual/cairo-Image-Surfaces.html