[cairo] how can I save the pixels of a line, and draw the line with the pixels laterly.

M Joonas Pihlaja jpihlaja at cc.helsinki.fi
Mon Nov 9 11:11:37 PST 2009


Hi,

Cairo doesn't have any special magic for copying pixels under a line, 
so you'll need to copy the pixels under the line yourself.  The 
simplest way of course is to make a copy of the destination surface 
before drawing, or you can get fancy and only copy the parts of the 
destination under the line.

Cheers,

Joonas


More information about the cairo mailing list