On 8/5/07, <b class="gmail_sendername">Thomas Sibley</b> &lt;<a href="mailto:trs@bestpractical.com">trs@bestpractical.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Yeah.&nbsp;&nbsp;Gruff (one of Ruby&#39;s nicer image-based charting libs) uses<br>ImageMagick, which seems to support drawing nice anti-aliased lines<br>unlike GD.&nbsp;&nbsp;There&#39;s an Image::Magick::Chart, but it&#39;s a bit old and only
<br>supports horizontal bars.</blockquote><div><br>After you mentioned ruby graphing ealier I looked up Gruff. It looks like every other Ruby thing. ;) It would appear that GD is also capable of anti-aliasing, but because of the way part of GD::Graph (pie charts in particular) are written Bad Stuff happens when you try to use anti-aliasing and true color graphs---I just tinkered to see what would happen. Since pie&#39;s are drawn lazily (
i.e., draw the outlines and then fill them) rather than properly drawing the slices and then adding the lines afterward, the fill floods the whole image.<br><br>I might think about this one. It could be fun. It&#39;s been a few years since I tinkered much with graphics on a lower level. Of course, as I&#39;m typing this I&#39;m thinking I must be crazy. As if I have the time... ;)
<br></div><br></div>