Method Cairo.RecordingSurface()->ink_extents()
- Method
ink_extents
 array(float) ink_extents()- Description
 Measures the extents of the operations stored within the RecordingSurface. This is useful to compute the required size of an ImageSurface (or equivalent) into which to replay the full sequence of drawing operations.
- Returns
 An array with the following elements:
Array float0the x-coordinate of the top-left of the ink bounding box
float1the y-coordinate of the top-left of the ink bounding box
float2the width of the ink bounding box
float3the height of the ink bounding box