Description ​
The GR32.Blend.Modes unit provides an object-oriented framework for custom pixel blending modes and compositing algorithms in Graphics32.
Key features provided by GR32.Blend.Modes include:
- Blender Class Hierarchy: Base abstract classes
TCustomGraphics32Blender,TCustomGraphics32ComponentBlender,TGraphics32ComponentBlender, andTGraphics32SeparableBlenderfor implementing custom blending algorithms. - Normal Blender: The default
TGraphics32BlenderNormalimplementation that delegates standard pixel blending to Graphics32's fast core routines. - Adobe / Photoshop Compositing:
TGraphics32ComponentBlenderimplements the standard Adobe Photoshop separable alpha compositing formula for multi-layer color blending. - Global Blend Service: The
Graphics32BlendServicesingleton and related interfaces (IGraphics32BlendService,IGraphics32BlendGroups,IGraphics32BlendGroup,IGraphics32BlendEnumerator,IGraphics32BlendGroupsEnumerator) enable dynamic registration, enumeration, and discovery of blend modes and blend groups across Photoshop, Porter-Duff, and extra blend mode libraries.
See also ​
GR32_BlendGraphics32BlendServiceGR32.Blend.Modes.PorterDuffPorter-Duff blend modesGR32.Blend.Modes.PhotoShopAdobe Photoshop blend modesGR32.Blend.Modes.ExtraAdditional blend modes