Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_ColorGradients🞂GR32_ColorGradientsUnit

GR32_ColorGradients

Provides smooth color gradient generation, lookup tables, spatial gradient samplers, and polygon gradient fillers for Graphics32.

Description ​

The GR32_ColorGradients unit implements a flexible color gradient framework in Graphics32. It provides multi-stop color gradient definitions, high-performance lookup table generation, spatial 2D gradient sampling, and polygon gradient filler renderers.

Key Capabilities ​

  1. Color Stop & Lookup Table Management:

    • TColor32Gradient: Manages an ordered list of color stops with position offsets (0.0…1.0), alpha blending support, and event notifications.
    • TColor32LookupTable: Pre-calculates 256 or 1024-entry ARGB color lookup tables for fast scanline rendering.
  2. Analytical & Center-Based Gradient Samplers:

  3. Sparse-Point & Polygon Gradient Fillers: