Home
|
GR32_Filters
|
|
function CreateBitmask(Components: TColor32Components): TColor32; overload;
This function takes a set of TColor32Component and creates a TColor32. If a given component is present in the set, the result component will get the value 255; if not present the result component will be zero. The context of application is to prepare a Bitmask parameter for the routine ApplyBitmask. To construct bitmasks containing any number in range [0..255] per component, use Color32.
ApplyBitmask, Color32, TColor32, TColor32Component, TColor32Components
Copyright ©2000-2010 Alex Denisov and the Graphics32 Team - Graphics32 v1.9.0 (r1336) - Build on 9-March-2010