Skip to content
Surf Wiki
Save to docs
general/graphics-libraries

From Surf Wiki (app.surf) — the open knowledge base

Graphics32

Computer graphics library for Delphi


Computer graphics library for Delphi

FieldValue
authorAlex Denisov
developerMattias Andersson, Andre Beckedorf, Christian Budde, Michael Bunk, Michael Hansen, Angus Johnson, Anders Melander, et al.
nameGraphics32 (GR32)
released
latest release version3.0
latest release date
operating systemWindows, Linux, OS X
repo
programming languageDelphi, Free Pascal, Assembly language
licenseMPL, LGPL + Linking Exception
website
genreGraphics 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

  1. "Graphics32 ThickLines benchmark example".
  2. "Graphics32 documentation: Sampling and Rasterization".
  3. "Graphics32 documentation: Repaint optimizer".
  4. "Graphics32 documentation: Gradients".
Info: Wikipedia Source

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.

Want to explore this topic further?

Ask Mako anything about Graphics32 — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This 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