A recording surface is logically unbounded, i.e. it has no
implicit constraint on the size of the drawing surface.
val create :
?extents:Cairo.rectangle -> Cairo.content -> Cairo.Surface.t
content. It can record all drawing operations at the highest level (that is, the level of
Cairo.Glyph.show_text). The surface is unbounded (no constraints on the size of the drawing surface) unless the
extentsargument is provided. Copying to another surface (see
Cairo.set_source_surface) will be more efficient (and sometime required) if the extents are specified when the recording surface is created.
val ink_extents :
Cairo.Surface.t -> Cairo.rectangle