May 03, 2009 Re: line drawing package? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Keep | Hello Daniel,
> Cairo is good for drawing; it has a very easy to learn API. I had a
> binding, but haven't touched it in ages; it's in bindings on
> dsource.org if you want to take a crack at it. Failing that, the C
> api isn't that hard to learn.
>
> Some URLs:
>
> Cairo: http://www.cairographics.org/
>
> Old cairo binding (also includes a basic tutorial):
> http://dsource.org/projects/bindings/browser/trunk/cairo
>
> Win32 libraries (you want cairo, libpng and zlib):
> http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/
>
> -- Daniel
>
Works well. I needed to find libpng13.dll (it wasn't on the site you listed) but that might have been from an odd version issue or some such. I ended up taking about 2 hours to sort the kinks out but about half of that was figuring out how to make my data feed into Cairo.
|
Copyright © 1999-2021 by the D Language Foundation