clipped and all drawing can be skipped
cairoGetClipRectangle
fn
bool cairoGetClipRectangle(cairo.context.Context cr, out gdk.rectangle.Rectangle rect)This is a convenience function around [cairo.context.Context.clipExtents]. It rounds the clip extents to integer coordinates and returns a boolean indicating if a clip area exists.
Parameters
cr | a cairo context |
rect | return location for the clip, or null |
Returns
true if a clip rectangle exists, false if all of cr is