Changes

265 bytes added ,  13:41, 11 November 2011
Line 270: Line 270:     
Not much changes, but...
 
Not much changes, but...
 +
 +
The Cairo/Pango interaction is a little different:
 +
<pre>
 +
cr = ...
 +
pl = PangoCairo.create_layout(cr)
 +
pl.set_font_description(fd)
 +
pl.set_text('Hello World', -1)
 +
cr.set_source_rgb(1, 0, 0)
 +
PangoCairo.update_layout(cr, pl)
 +
PangoCairo.show_layout(cr, pl)
 +
</pre>
    
===Taking a screenshot and making a thumbnail===
 
===Taking a screenshot and making a thumbnail===