[cairo] howto draw a single pixel

calmar mac at calmar.ws
Sun Apr 13 14:34:46 PDT 2008


On Sun, Apr 13, 2008 at 10:56:39PM +0200, calmar wrote:

Ok, found (by a hint from otaylor and the according thread :):

> how could I properly get a single pixel somewhere?

cairo_rectangle (cr, x, y, 1.0, 1.0);

thanks!
cheers
marco

-- 
   (o_  It rocks: LINUX + Command-Line-Interface
   //\
   V_/_                     http://www.calmar.ws


More information about the cairo mailing list