4 ms·
This blogpost is so silly. Agg is more like a meta library for constructing drawing APIs. Using it directly is quite painful. It even comes with Agg2D which is
by vinkelhake 13y ago
This blogpost is so silly.
Agg is more like a meta library for constructing drawing APIs. Using it directly is quite painful. It even comes with Agg2D which is a simplified API.
Another easy to use C++ drawing API is Qt's QPainter.
It all comes down to how you design the API. C++ doesn't force you to come up with Agg if you really want something like QPainter. I expect the C++-translation of Cairo to be equally simple. We're talking about translating cairo_foo(ctx, params); to ctx.foo(params); and adding automatic memory management.
API design is hard. If you have it in you to design a good C API, you could probably do the same in C++.