On Monday, 22 June 2015 at 08:21:44 UTC, Mike wrote:
Anti-Grain Geometry is not a solid graphic library and it's not
very easy to use. I consider AGG as a “tool to create other
tools”. It means that there's no “Graphics” object or something
like that, instead, AGG consists of a number of loosely coupled
algorithms that can be used together or separately. All of them
have well defined interfaces and absolute minimum of implicit
or explicit dependencies."
It's architecture is what makes it so beautiful. You can
configure your own graphics pipeline simply by passing the
right template arguments. It would be an excellent showcase
for D.
Mike
Thankfully we already have it:
http://blog.thecybershadow.net/2014/03/21/functional-image-processing-in-d/
Data structures separated from algorithms with lazy range-like
computations.
It's just a matter of using it and improving on it.