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

GetRGB32

Set a series of color registers for this Viewport.

Declaration

Source position: agraphics.pas line 2125

procedure GetRGB32(

  Cm: PColorMap;

  FirstColor: LongWord;

  NColors: LongWord;

  var Table: LongWord

); overload;

procedure GetRGB32(

  Cm: PColorMap;

  FirstColor: LongWord;

  NColors: LongWord;

  Table: PLongWord

); overload;

Arguments

Cm

  

colormap

FirstColor

  

The first color register to get

NColors

  

The number of color registers to set.

Table

  

A pointer to a series of 32-bit RGB triplets. Should point to at least ncolors*3 longwords.

Arguments

Cm

  

colormap

FirstColor

  

The first color register to get

NColors

  

The number of color registers to set.

Table

  

A pointer to a series of 32-bit RGB triplets. Should point to at least ncolors*3 longwords.

See also

LoadRGB4

  

Load RGB color values from table.

LoadRGB32

  

Set a series of color registers for this Viewport.

GetColorMap

  

Allocate and initialize Colormap

SetRGB32CM

  

Set one color register for this ColorMap.


Documentation generated on: 2021-07-30