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 with the x coordinate of the top-left of the bounding box
y -- a double float with the y coordinate of the top-left of the bounding box
width -- a double float with the width of the the bounding box
height -- a double float with 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-1-29