<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks for all the support you have provided to us.......i want to know is there any way to change resolution/dpi for image surface? <div><br></div><div>According to my understanding "cairo_surface_set_fallback_resolution" does not change resolution for image/rasterized surface.</div><div><font class="Apple-style-span" face="'Times New Roman'"><span class="Apple-style-span" style="font-size: medium;"><br></span></font></div><div><font class="Apple-style-span" face="'Times New Roman'"><span class="Apple-style-span" style="font-size: medium;">Regards,</span></font></div><div><font class="Apple-style-span" face="'Times New Roman'"><span class="Apple-style-span" style="font-size: medium;">M Salman<br></span></font><br>--- On <b>Tue, 2/16/10, Arjen Nienhuis <i><a.g.nienhuis@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16,
255); margin-left: 5px; padding-left: 5px;"><br>From: Arjen Nienhuis <a.g.nienhuis@gmail.com><br>Subject: Re: [cairo] how to draw sharp curves?<br>To: "Salman Jeelani" <salmanjeelani2003@yahoo.com><br>Cc: cairo@cairographics.org<br>Date: Tuesday, February 16, 2010, 3:31 AM<br><br><div class="plainMail">Hi,<br><br>On Tue, Feb 16, 2010 at 6:28 AM, Salman Jeelani<br><<a ymailto="mailto:salmanjeelani2003@yahoo.com" href="/mc/compose?to=salmanjeelani2003@yahoo.com">salmanjeelani2003@yahoo.com</a>> wrote:<br>> 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.<br>> please find attach a sample image file.<br>> Regards,<br><br>Those curves look fine. The text looks bad.<br><br>Some viewers or tools that handle PNG files have
trouble with the<br>anti-aliased lines on a transparent background. It might help to first<br>draw a white background.<br><br>Why don't you start with a larger image instead of enlarging it later?<br><br>> M Salman<br></div></blockquote></div></td></tr></table><br>