Features

Graphics32

Features

Many features in Graphics32 are similar to those in standard TImage, TBitmap and TCanvas classes, however they were rewritten to accelerate and optimize drawing on 32-bit device-independent bitmaps (DIBs). It also includes a few new options.

Some of its features include:

  • Fast per-pixel access up to 100 times faster compared to standard TCanvas/TBitmap;
  • High-performance Bitmap alpha blending (including per-pixel alpha blending);
  • Pixel, line and polygon antialiasing with sub-pixel accuracy (combined with alpha blending);
  • Arbitrary polygon transformations and custom fillings;
  • Bitmap resampling with high quality reconstruction filters (e.g. Lanczos, Cubic, Mitchell);
  • A unique state-of-the-art rasterization system;
  • Affine transformations of bitmaps: rotations, scaling, etc with sub-pixel accuracy;
  • Arbitrary projective transformations of bitmaps;
  • Arbitrary remapping transformations of bitmaps (e.g. for Warping, Morphing);
  • Flexible supersampling implementation for maximum sampling quality;
  • Flicker-free image displaying components with optimized double buffering via advanced MicroTiles based repaint optimizer;
  • Multiple customizible easy-to-use overlay layers;
  • Locking of bitmaps for safe multithreading;
  • A property editor for RGB and alpha channel loading;
  • Design-time loading of image formats supported by standard TPicture;

Except for extended features, Graphics32 has some important differences from the standard components. It does not heavily rely on Windows GDI, most of the functions are reimplemented and optimized specifically for 32-bit pixel format.

See Also

Changes, Contacts, Donate, License, Naming Conventions, Repaint Optimization, Sampling and Rasterization