Docs » Autodocs » graphics.library » GetRGB32
GetRGB32 -- Set a series of color registers for this Viewport. (V39)
GetRGB32( cm, firstcolor, ncolors, table ) a0 d0 d1 a1 void GetRGB32( struct ColorMap *, ULONG, ULONG, ULONG *);
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.
The ULONG data pointed to by 'table' will be filled with the 32 bit fractional RGB values from the colormap.
'Table' should point to at least ncolors*3 longwords.
LoadRGB4(), GetColorMap(), LoadRGB32(), SetRGB32CM(), <graphics/view.h>
|