property CombineMode: TCombineMode;
type TCombineMode = (cmBlend, cmMerge);
TCombineMode defines how drawing operations on the bitmap combine the foreground color with the background.
It also determines how the bitmap is combined with the background of another bitmap when DrawMode is set to dmBlend.
- cmBlend - Fast blending of foreground color with the background color using the supplied alpha. This method is not suited for working and preserving alpha-channels. Use this if you want to blend directly to the display buffer. Internally uses Blend and BlendEx routines.
- cmMerge - Uses a completely different formula that also merges the alpha-channels. This mode is slower than blending but is suited for working with alpha-channels (eg. when composing in temporary buffers). Internally uses Merge and MergeEx routines.
Draw, DrawTo, DrawMode, TCombineMode, Blend, BlendEx, Merge, MergeEx
Copyright ©2000-2016 Alex Denisov and the Graphics32 Team - Graphics32 v2.0 - Built on 25-April-2017