Creates a surface that records drawing operations for later replay.
Omitting extents creates an unbounded recording surface. A supplied
rectangle limits recording in the surface's device-space coordinates.
Transformations later applied to a drawing context, such as scaling or
translation, do not transform these bounds. Cairo copies the rectangle
during this call.