pl_AGGPas

 

pl_AGGPas

it's Object Pascal native port of AGG C++ library for CodeTyphon Studio.

Anti-Grain Geometry (AGG) is a high-quality 2D rendering library.
AGG (and AggPas too) doesn't depend on any graphic API or technology.
Basically, you can think of AGG as of a rendering engine that produces pixel images in memory from some vectorial data.
It features anti-aliasing and sub-pixel resolution. It is not a graphics library, per se, but rather a framework to build a graphics library upon.

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 an SVG viewer.

The ideas and the philosophy of AGG are:

  • Anti-Aliasing.
  • Subpixel Accuracy.
  • The highest possible quality.
  • High performance.
  • Platform independence and compatibility.
  • Flexibility and extensibility.
  • Lightweight design.
  • Reliability and stability (including numerical stability).


Below there are some key features (but not all of them):

  • Rendering of arbitrary polygons with Anti-Aliasing and Subpixel Accuracy.
  • Gradients and Gouraud Shading.
  • Fast filtered image affine transformations, including many interpolation filters (bilinear, bicubic, spline16, spline36, sinc, Blackman).
  • Strokes with different types of line joins and line caps.
  • Dashed line generator.
  • Markers, such as arrowheads/arrowtails.
  • Fast vectorial polygon clipping to a rectangle.
  • Low-level clipping to multiple rectangular regions.
  • Alpha-Masking.
  • A new, fast Anti-Alias line algorithm.
  • Using arbitrary images as line patterns.
  • Rendering in separate color channels.
  • Perspective and bilinear transformations of vector and image data.
  • Boolean polygon operations (and, or, xor, sub) based on Alan Murta's

 

 

  

You can explore Units, Functions, Procedures, Classes, etc in our
Source Documentation