Top |
cairo_surface_t * | cairo_tee_surface_create () |
void | cairo_tee_surface_add () |
cairo_surface_t * | cairo_tee_surface_index () |
void | cairo_tee_surface_remove () |
cairo_surface_t *
cairo_tee_surface_create (cairo_surface_t *primary
);
Creates a new "tee" surface.
The primary
surface is used when querying surface options, like
font options and extents.
Operations performed on the tee surface will be replayed on any surface added to it.
Since: 1.10
void cairo_tee_surface_add (cairo_surface_t *abstract_surface
,cairo_surface_t *target
);
Adds a new target surface to the list of replicas of a tee surface.
Since: 1.10
cairo_surface_t * cairo_tee_surface_index (cairo_surface_t *abstract_surface
,unsigned int index
);
Retrieves the replica surface at the given index.
The primary surface used to create the cairo_tee_surface_t is always set at the zero index.
Since: 1.10
void cairo_tee_surface_remove (cairo_surface_t *abstract_surface
,cairo_surface_t *target
);
Removes the given surface from the list of replicas of a tee surface.
Since: 1.10
#define CAIRO_HAS_TEE_SURFACE
Defined if the tee surface backend is available.
Since: 1.10