Set one color register for this ColorMap.
Source position: agraphics.pas line 2389
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. |