Package: cairo

Function cairo:recording-surface-extents

Lambda List

cairo:recording-surface-extents (surface)

Arguments

surface -- a cairo:surface-t instance

Return Value

x -- a double float for the x coordinate of the top-left of the bounding box
y -- a double float for the y coordinate of the top-left of the bounding box
width -- a double float for the width of the the bounding box
height -- a double float for the height of the the bounding box

Details

Get the extents of the recording surface. Returns false if the recorded surface is unbounded.
 

See also

2025-09-02