"Bill Baxter" <wbax...@gmail.com> wrote in message news:mailman.593.1260627949.20261.digitalmar...@puremagic.com... > On Sat, Dec 12, 2009 at 5:05 AM, bearophile <bearophileh...@lycos.com> > wrote: >> dsimcha: >> >>> I'm thinking of giving another try to writing a plotting library for D. >> >> I like what you have written. >> I suggest this as the rendering layer, because it's beyond awesome (used >> in MatPlotLib too): >> http://www.antigrain.com/ > > AGG's renderings do look nice. But it will require significant effort > to use, as it is written using highly templated C++, and no one has > attempted a port to D at this point. Also it doesn't do windowing, so > you still need to solve the window creation thing (but you could use > something simple like SDL in Derelict for that.)
Another option is... http://mlab.taik.fi/~kkallio/antialiasing/ It took me about 3 days to write and debug my own implementation. I only did even/odd 8x sampling, but it's simple and fast. My C++ rasterizer (just the bit that converts polygons into scanlines) is only 550 lines of code.