RecordingSurface.inkExtents

Measures the extents of the operations stored within the recording-surface. This is useful to compute the required size of an image surface (or equivalent) into which to replay the full sequence of drawing operations. Since 1.10

class RecordingSurface
void
inkExtents
(
double* x0
,
double* y0
,
double* width
,
double* height
)

Parameters

x0 double*

the x-coordinate of the top-left of the ink bounding box

y0 double*

the y-coordinate of the top-left of the ink bounding box

width double*

the width of the ink bounding box

height double*

the height of the ink bounding box