<div dir="ltr">The blurring of the edges is a natural result of using anti-aliased graphics, which is a way of "painting between pixels", see <a href="http://en.wikipedia.org/wiki/Anti-aliasing">http://en.wikipedia.org/wiki/Anti-aliasing</a> . If it for whatever reason bothers you, you can turn it off by calling:<br>
<br> cairo_set_antialiased(cr, CAIRO_ANTIALIASED_NONE)<br><br>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.<br><br>Regards,<br>
Dov<br><br><div class="gmail_quote">On Tue, Feb 16, 2010 at 07:28, Salman Jeelani <span dir="ltr"><<a href="mailto:salmanjeelani2003@yahoo.com">salmanjeelani2003@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
hi,<div><br></div><div>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.</div>
<div><br></div><div>please find attach a sample image file.</div><div><br></div><div>Regards,</div><div>M Salman </div></td></tr></tbody></table><br>
<br>--<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br></blockquote></div><br></div>