[cairo] rectangle with one pixel width

zaheer ahmad zaheer.mot at gmail.com
Wed Jan 9 01:54:32 PST 2008


hi,
iam drawing a rectangle using cairo, but it always takes two pixels. Is
there a way to draw the rectangle that takes exactly one pixel.

i tried to change the line width (cairo_set_line_width(cr, 0.03) but this
only seems to fade the color and not  change the number of pixels taken by
the rectangle.


any inputs would be greatly helpful.

thanks,
Zaheer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080109/01db5f41/attachment.html 


More information about the cairo mailing list