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

SetRGB4CM

Set one color register for this ColorMap.

Declaration

Source position: agraphics.pas line 2391

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