D2 GUI Libs

Bob Jones me at not.com
Sun Dec 13 14:26:37 PST 2009


"Bill Baxter" <wbaxter at gmail.com> wrote in message 
news:mailman.593.1260627949.20261.digitalmars-d at puremagic.com...
> On Sat, Dec 12, 2009 at 5:05 AM, bearophile <bearophileHUGS at 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.





More information about the Digitalmars-d mailing list