Cairo::RecordingSurface#

📦 std

Functions#

Other Functions#

create#

Creates a surface that records the drawing operations performed on it instead of rendering them, so they can be replayed later onto any other surface at any resolution.

ink_extents#

Returns the area actually covered by ink so far, as the four-element list ($x0, $y0, $width, $height).

get_extents#

Returns the bounds the surface was created with, as a hash reference with the keys x, y, width and height.