Set one color register for this ColorMap.
Source position: agraphics.pas line 2140
procedure SetRGB32CM( |
Cm: PColorMap; |
N: LongWord; |
R: LongWord; |
G: LongWord; |
B: LongWord |
); |
Cm |
|
Colormap |
N |
|
The number of the color register to set. Must not exceed the number of colors allocated for the colormap. |
R |
|
red level (32 bit unsigned left justified fraction) |
G |
|
green level (32 bit unsigned left justified fraction) |
B |
|
blue level (32 bit unsigned left justified fraction) |
Store the (r,g,b) triplet at index n of the ColorMap structure. This function can be used to set up a ColorMap before before linking it into a viewport.
|
Allocate and initialize Colormap |
|
|
Set a series of color registers for this Viewport. |
|
|
Set one color register for this Viewport. |
|
|
Set a series of color registers for this Viewport. |