Changes

Jump to navigation Jump to search
Line 176: Line 176:     
<pre>
 
<pre>
 +
import cairo
 +
 
# From activity.Activity, you inherit a canvas.
 
# From activity.Activity, you inherit a canvas.
 
# Create a Cairo context from the window.
 
# Create a Cairo context from the window.
Line 208: Line 210:     
<pre>
 
<pre>
 +
import pango, pangocairo
 +
 
# Again, from the xlib_surface...
 
# Again, from the xlib_surface...
 
cairo_context = cairo.Context(xlib_surface)
 
cairo_context = cairo.Context(xlib_surface)

Navigation menu