This is useful to compute the required size of an image surface (or equivalent) into which to replay the full sequence of drawing operations.
Api reference, since version 1.10:
https://www.cairographics.org/manual/cairo-Recording-Surfaces.html#cairo-recording-surface-ink-extents
Use case with Luxor (this helps to fix):
JuliaGraphics/Luxor.jl#150.