Package: cairo

Function cairo:clip-extents

Lambda List

cairo:clip-extents (cr)

Arguments

cr -- a cairo:context-t instance

Return Value

x1 -- a number with the left of the resulting extents
y1 -- a number with the top of the resulting extents
x2 -- a number with the right of the resulting extents
y2 -- a number with the bottom of the resulting extents

Details

Computes a bounding box in user coordinates covering the area inside the current clip.

Notes

The numbers returned are double floats.
 

See also

2025-1-2