Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

SetRGB4CM

Set one color register for this ColorMap.

Declaration

Source position: agraphics.pas line 2398

procedure SetRGB4CM(

  ColorMap: PColorMap;

  ColIndex: LongWord;

  Red: LongWord;

  Green: LongWord;

  Blue: LongWord

);

Description

Store the (r,g,b) triplet at index n in the ColorMap structure. The changes will not be immediately displayed. Use this function before linking the ColorMap to a ViewPort.

See also

GetColorMap

  

Allocate and initialize Colormap

GetRGB4

  

Inquire value of entry in ColorMap.

SetRGB4

  

Set one color register for this viewport.


Documentation generated on: 2021-07-30