cairo_get_clip_rectangle


Description:


public bool cairo_get_clip_rectangle (Context cr, out Rectangle rect)

This is a convenience function around clip_extents.

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 clipped and all drawing can be skipped


Namespace: Gdk
Package: gdk-3.0



2022 vala-language.org