teeSurfaceCreate

fncairo.surface.Surface teeSurfaceCreate(cairo.surface.Surface 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.

Parameters

primarythe primary #cairo_surface_t

Returns

the newly created surface