get_cairo_context
Description:
Retrieves a Cairo context to be used to draw on the Window that created the DrawingContext.
The returned context is guaranteed to be valid as long as the DrawingContext is valid, that is between a call to begin_draw_frame and end_draw_frame.
Returns:
a Cairo context to be used to draw the contents of the Window. The context is owned by the DrawingContext and should not be destroyed |