recordingSurfaceInkExtents
fn
void recordingSurfaceInkExtents(cairo.surface.Surface surface, out double x0, out double y0, out double width, out double height)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.
Parameters
surface | a #cairo_recording_surface_t |
x0 | the x-coordinate of the top-left of the ink bounding box |
y0 | the y-coordinate of the top-left of the ink bounding box |
width | the width of the ink bounding box |
height | the height of the ink bounding box |