Package: gdk

Function gdk-cairo-clip-rectangle

Lambda List

gdk-cairo-clip-rectangle (cr)

Arguments

cr -- a cairo-t context

Return Value

A gdk-rectangle instance with the clip or false if all of cr is clipped and all drawing can be skipped.

Details

This is a convenience function around the cairo-clip-extents function. It rounds the clip extents to integer coordinates and returns a boolean indicating if a clip area exists.
 

See also

2021-12-11