The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home ![]() ![]() ![]() ![]() ![]() |
|||||||
See also: Mask, FillMask | |||||||
MaskPalette |
|||||||
The property MaskPalette controls the colors used for rendering the pivotal mask. By default, the MaskPalette array has a size of 256 entries, three of them having special meanings: 0 ... no mask is drawn, data is displayed normally the first 16 colors (indices 2 to 17) are the standard VGA colors, the rest of the array (indices 18 to 254) contains a smoothly interpolated array of colors from darkblue over green, red, and yellow to white. Please note that the last value of the color palette is never used, since a mask value of 255 causes an inverted region (see also the description of the array property Mask).
|