Cairo_gtkSourceIntegration of Cairo with labgtk2.
It allows to create Cairo contexts which can be used to draw on GDK drawables. Additional functions allow to convert GDK's rectangles and regions into Cairo paths and to use pixbufs as sources for drawing operations.
create drawable creates a Cairo context for drawing to drawable.
NOTE: due to double-buffering, Cairo contexts created in a GTK+ expose event handler cannot be cached and reused between different expose events.
set_source_color cr color sets the specified color as the source color of cr.
rectangle cr r adds the rectangle r to the current path of cr.
region cr r adds the region r to the current path of cr.
Sets the given pixbuf as the source pattern for the Cairo context. The pattern has an extend mode of Cairo.Pattern.extend set to NONE and is aligned so that the origin of pixbuf is (x,y).