Previous: 4.37.2.53. GetPixel function To the Table of Contents Next: 4.37.2.55. GetScreenHeight function
4.37.2.53. GetPixel function Table of Contents 4.37.2.55. GetScreenHeight function

- 4.37.2.54. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.54. GetRGBPalette procedure


4.37.2.54. GetRGBPalette procedure

Targets: MS-DOS, Win32


Graph Unit

Returns palette entries for the VGA, MCGA and 256-colored SVGA modes.

Declaration:
procedure GetRGBPalette(ColorNum: Byte;
                         var RedValue, GreenValue,
                         BlueValue: Byte);
Remarks:
ColorNum defines the palette entry to be returned. RedValue, GreenValue, and BlueValue return the component colors of the palette entry.


Previous: 4.37.2.53. GetPixel function To the Table of Contents Next: 4.37.2.55. GetScreenHeight function
4.37.2.53. GetPixel function Table of Contents 4.37.2.55. GetScreenHeight function

- 4.37.2.54. -