[cairo] how to draw sharp curves?
dov.grobgeld at gmail.com
Mon Feb 15 22:51:04 PST 2010
The blurring of the edges is a natural result of using anti-aliased
graphics, which is a way of "painting between pixels", see
http://en.wikipedia.org/wiki/Anti-aliasing . If it for whatever reason
bothers you, you can turn it off by calling:
The best way of having "non-blurred" graphics at all levels is to provide
the user with vector graphics files, e.g. svg, or pdf.
On Tue, Feb 16, 2010 at 07:28, Salman Jeelani
<salmanjeelani2003 at yahoo.com>wrote:
> i want to know how to draw sharp curves. i have drawn some curves and
> export it to png file and seen that its edges are bit stingy not a sharp
> straight line. And when i enlarge the png file image got more blurred. i
> really appreciate any suggestion for this issue.
> please find attach a sample image file.
> M Salman
> cairo mailing list
> cairo at cairographics.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo