- Anti-Grain Geometry
Anti-Grain Geometry (AGG) is a high-quality 2D rendering library written in
C++ . It featuresanti-aliasing andsub-pixel resolution .The library is operating system independent and renders to an abstract memory object. It comes with examples interfaced to the
X Window System ,Microsoft Windows ,Mac OS X ,AmigaOS ,BeOS ,SDL . The examples also include anSVG viewer.AGG makes heavy use of C++ generics: it relies on templates rather than class based interfaces. This gives it the flexibility to plug custom classes into the rendering pipeline, without requiring a rigid class hierarchy, and allows the compiler to inline many of the method calls for high performance. For a library of its complexity, it is remarkably lightweight, and it has no dependencies above the standard C++ libraries. The implicit interfaces are not well documented, however, and this can make the learning curve quite steep.
The Haiku operating system uses AGG in its windowing system.
Until version 2.4 AGG was under the 3-clause BSD license. Beginning with version 2.5 it is under the
GNU General Public License , version 2 or greater.It is one of the renderers available for use in
GNU ’sGnash Flash player.External links
* [http://antigrain.com/ Homepage]
* [http://sourceforge.net/projects/agg-sharp agg-sharp] Is a c# port of the c++ library.
* [http://www.aggpas.org AggPas] is an Object Pascal port of the c++ library.
Wikimedia Foundation. 2010.