Graphics32

Graphics32 (GR32)Original author(s)| Alex Denisov

|

Developer(s)| Mattias Andersson, Andre Beckedorf, Christian Budde, Michael Bunk, Michael Hansen, Angus Johnson, Anders Melander, et al.
Initial release| March 9, 2000; 26 years ago (2000-03-09)
Stable release|

3.0 / March 18, 2025; 16 months ago (2025-03-18)

Repository| github.com/graphics32/graphics32
Written in| Delphi, Free Pascal, Assembly language
Operating system| Windows, Linux, OS X
Type| Graphics library
License| MPL, LGPL \+ Linking Exception
Website| github.com/graphics32

Graphics32 is an Open source 2D graphics library for Delphi and Free Pascal optimized for 32-bit pixel formats.

Graphics32 provides fast operations for pixels and graphic primitives and is almost a hundred times faster at per-pixel access and about 50–100 times faster at drawing lines than GDI and GDI+.[1] Additionally, it provides alpha blending, anti-aliasing, and 2D vector graphics as well as filters for resampling and transforming bitmaps.

The library makes heavy use of hand-optimized SIMD assembler code in performance hotspots and utilizes CPU dispatching to automatically chose between several different code paths based on the features supported by the host processor. On processors where no supported assembly implementations are available the library falls back to pure Pascal code.

## Features

Some of Graphics32's features include:

* High-performance bitmap alpha blending (including per-pixel alpha blending).
* Pixel, line, and polygon anti-aliasing with sub-pixel accuracy (combined with alpha blending).
* Bitmap resampling with high quality reconstruction filters such as Lanczos, Sinc, Bicubic, and Mitchell to name a few.[2]
* Flexible super-sampling implementation for maximum sampling quality.
* Flicker-free image displaying components with optimized double buffering via advanced MicroTiles based repaint optimizer.[3]
* Polygon- and font rasterizer supporting gradient,[4] solid, and pattern fills.

## References

1. ↑ "Graphics32 ThickLines benchmark example". https://raw.githubusercontent.com/graphics32/graphics32/refs/heads/master/Examples/Drawing/Thick Lines/screenshot.png.
2. ↑ "Graphics32 documentation: Sampling and Rasterization". https://graphics32.github.io/Docs/Additional Topics/Sampling and Rasterization.htm.
3. ↑ "Graphics32 documentation: Repaint optimizer". https://graphics32.github.io/Docs/Additional Topics/Repaint Optimization.htm.
4. ↑ "Graphics32 documentation: Gradients". https://graphics32.github.io/Docs/Additional Topics/Color Gradients.htm.

## External links

* Official website
* Documentation

0.00

(0 votes)

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Graphics32&oldid=4548234"