From Surf Wiki (app.surf) — the open knowledge base
Graphics32
Computer graphics library for Delphi
Computer graphics library for Delphi
| Field | Value |
|---|---|
| author | Alex Denisov |
| developer | Mattias Andersson, Andre Beckedorf, Christian Budde, Michael Bunk, Michael Hansen, Angus Johnson, Anders Melander, et al. |
| name | Graphics32 (GR32) |
| released | |
| latest release version | 3.0 |
| latest release date | |
| operating system | Windows, Linux, OS X |
| repo | |
| programming language | Delphi, Free Pascal, Assembly language |
| license | MPL, LGPL + Linking Exception |
| website | |
| genre | Graphics library |
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+. 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.
- Flexible super-sampling implementation for maximum sampling quality.
- Flicker-free image displaying components with optimized double buffering via advanced MicroTiles based repaint optimizer.
- Polygon- and font rasterizer supporting gradient, solid, and pattern fills.
References
References
- "Graphics32 ThickLines benchmark example".
- "Graphics32 documentation: Sampling and Rasterization".
- "Graphics32 documentation: Repaint optimizer".
- "Graphics32 documentation: Gradients".
This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.
Ask Mako anything about Graphics32 — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report