Anti-Grain Geometry Tutorial
|
AGG uses agg::renderer_base
to handle most of operations. It contains all the information needed regarding the image metadata and buffering.
You will need the following parts before creating a agg::renderer_base.
See tutorial_rendererbase.cpp for an example of constructing an RGBA renderer_base. It also shows how to do direct pixel manipulations using renderer_base. In this example, a simple green border is drawn. The output is saved to an PNG.