Creates a Cairo context for drawing to @window.
This is a convenience function around cairo_clip_extents(). It rounds the clip extents to integer coordinates and returns a boolean indicating if a clip area exists.
Adds the given rectangle to the current path of @cr.
Adds the given region to the current path of @cr.
Creates region that describes covers the area where the given @surface is more than 50% opaque.
Sets the specified #GdkColor as the source color of @cr.
Sets the given pixbuf as the source pattern for @cr.
Sets the specified #GdkRGBA as the source color of @cr.
Sets the given window as the source pattern for @cr.
Creates an image surface with the same contents as the pixbuf.