RGtk2 (version 2.20.31)

cairo-image-surface: Image Surfaces

Description

Rendering to memory buffers

Arguments

Methods and Functions

cairoFormatStrideForWidth(format, width) cairoImageSurfaceCreate(format, width, height) cairoImageSurfaceCreateForData(data, format, width, height, stride) cairoImageSurfaceGetData(surface) cairoImageSurfaceGetFormat(surface) cairoImageSurfaceGetWidth(surface) cairoImageSurfaceGetHeight(surface) cairoImageSurfaceGetStride(surface)

Detailed Description

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.

Enums and Flags

References

http://www.cairographics.org/manual/cairo-image-surface.html