- 4.37.2.93 -
Standard Units
Graph Unit
Graph Unit Procedures and FunctionsRGBColor procedure
Targets: MS-DOS, Win32
Graph Unit
Packs a set of RGB values into a color value
for passing to the primitive drawing routines that is
appropriate for the current video mode.
Declaration:
function RGBColor(R, G, B: Byte): DWORD;
Remarks:
This routine is intended to work with RGB video modes
such as the 15, 16, 24 and 32 bits per pixel modes.
Use this routine to convert all color values to ensure
that they work correctly on the different types of direct color
video modes available.
|
|
|
Retrace procedure |
Table of Content |
SetActivePage procedure |
- 4.37.2.93 -