Set a series of color registers for this Viewport.
Source position: agraphics.pas line 2444
procedure LoadRGB32( |
Vp: PViewPort; |
const Table: PLongWord |
); |
Vp |
|
viewport |
Table |
|
A pointer to a series of records which describe which colors to modify. |
The selected color registers are changed to match your specs. LoadRGB32() is faster than SetRGB32(), even for one color.
Passing a nil "table" is ignored. The format of the table passed to this function is a series of records, each with the following format:
1 Word with the number of colors to load 1 Word with the first color to be loaded. 3 longwords representing a left justified 32 bit rgb triplet. The list is terminated by a count value of 0.
Lower order bits of the palette specification will be discarded, depending on the color palette resolution of the target graphics device. Use 0xffffffff for the full value, 0x7fffffff for 50%, etc. You can find out the palette range for your screen by querying the graphics data base.
|
Load RGB color values from table. |
|
|
Allocate and initialize Colormap |
|
|
Set a series of color registers for this Viewport. |
|
|
Set one color register for this ColorMap. |