Home | GR32 |
TCombineMode
type TCombineMode = (cmBlend, cmMerge);
Description
TCombineMode defines how drawing operations combine the foreground color with the background.
It also determines how a bitmap is combined with the background 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 more if you want to blend directly to the display buffer.
- 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).
See Also
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007