[cairo] Using Cairo functions intead of GDK functions

Behdad Esfahbod behdad at behdad.org
Fri May 13 13:03:46 PDT 2011


On 05/13/11 15:29, Emmanuel Thomas-Maurin wrote:
>   gdk_cairo_set_source_pixmap(cr, pixmap, 0, 0);


Perhaps:

   gdk_cairo_set_source_pixmap(cr, pixmap, x, 0);

or

   gdk_cairo_set_source_pixmap(cr, pixmap, -x, 0);


>   cairo_rectangle(cr, x, 0, drw_a_width, drw_a_height);


More information about the cairo mailing list