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 float
0
the x-coordinate of the top-left of the ink bounding box
float
1
the y-coordinate of the top-left of the ink bounding box
float
2
the width of the ink bounding box
float
3
the height of the ink bounding box
There are no comments to this page yet!