cairo.Surface

Undocumented in source.

Public Imports

gtkc.cairotypes
public import gtkc.cairotypes;
Undocumented in source.

Members

Classes

Surface
class Surface

Description cairo_surface_t is the abstract type representing all different drawing targets that cairo can render to. The actual drawings are performed using a cairo context. A cairo surface is created by using backend-specific constructors, typically of the form cairo_backend_surface_create(). Most surface types allow accessing the surface without using Cairo functions. If you do this, keep in mind that it is mandatory that you call cairo_surface_flush() before reading from or writing to the surface and that you must use cairo_surface_mark_dirty() after modifying it. Note that for other surface types it might be necessary to acquire the surface's device first. See cairo_device_acquire() for a discussion of devices.

Meta