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

SetRGB4CM

Set one color register for this ColorMap.

Declaration

Source position: agraphics.pas line 2085

procedure SetRGB4CM(

  ColorMap: PColorMap;

  Index: LongInt;

  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