[cairo] Stroking very thin lines

Behdad Esfahbod behdad at behdad.org
Mon Oct 3 10:09:33 PDT 2011


I'm stroking very thin lines as a way to give them translucency, but I'm
getting very weird results.  I'm stroking red with line-width of 1/30 of a
pixel or so, on a white background.  I expect that I only get shades that are
convex combinations of red and white, but I'm seeing lots of gray instead.
#e8e8e8 even!  See attachment.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: thin-stroke.png
Type: image/png
Size: 20488 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20111003/2dfd48e4/attachment-0001.png>

More information about the cairo mailing list