Anti-Grain Geometry

from Wikipedia, the free encyclopedia
Anti-Grain Geometry
Basic data

developer Maxim Shemanarev
Current  version 2.5.0
(October 1, 2006)
programming language C ++
License GPL ( free software )
antigrain.com

Anti-Grain Geometry ( AGG for short ) is a free , platform-independent graphics library with subpixel accuracy. It is written by Maxim Shemanarev (McSeem) in C ++ and is available as free software under the terms of Version 2 or higher of the GNU General Public License (GPL).

There is one port for Free Pascal and one for C # .

features

The main distinguishing feature of the library is that it is designed to be very flexible and can be used and expanded in a wide variety of ways. The library is completely available in C ++ code and is usually compiled directly into the application program . In addition, no hardware interface is defined, because all operations are carried out in a freely selectable buffer. It is completely irrelevant whether it is the frame buffer of a graphics card or just a previously allocated memory. These properties make AGG completely hardware-independent. The library can usually be compiled for any processor without adjustments.

Despite this flexibility, the library is extremely fast and lean and offers high quality anti - aliasing .

Layers model

AGG is structured in several layers from the pixel renderer to line operations and elementary drawing operations, which makes it possible to intervene in this process at any point. However, this concept initially makes learning the library difficult.

history

AGG was originally developed to transform raster graphics with high quality and rotate them at any angle. The library now offers many options for vector graphics. Version 2.0 was released in 2002. Up to version 2.4 AGG was published under the three-clauses (modified) BSD license , with version 2.5 the changeover to the GNU General Public License took place in October 2006.

The further development of the library fell asleep in 2006. The main developer Maxim Shemanarev passed away in 2013.

use

The Haiku operating system uses AGG in its window system .

In GNU's free flash player gnash it is integrated as one of the available renderers.

The graphical version of the interpreter of the REBOL programming language uses AGG for the processing of vector graphics data in the SVG dialect DRAW .

Web links

swell

  1. http://antigrain.com/license/
  2. Website of AggPas , a Free Pascal port of AGG
  3. official website of agg-sharp , a C # porting of AGG
  4. Максим Шеманарев aka McSeem2, 1966-2013 ( memento from March 4, 2016 in the Internet Archive ), rsdn.ru, November 28, 2013