recordingSurfaceInkExtents

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.

void
recordingSurfaceInkExtents
(,
out double x0
,
out double y0
,
out double width
,
out double height
)

Parameters

surface cairo.surface.Surface

a #cairo_recording_surface_t

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