Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File7.9.11 v_ctab_idx2vdi TOS Name: »Translate VDI colour index to colour table index« Opcode: 206 (Sub-Opcode 3) Syntax: int16_t v_ctab_idx2vdi( int16_t handle, int16_t index ); Description: The call v_ctab_idx2vdi converts the colour table index into a VDI colour index. Parameter Meaning handle Workstation identifier index Index for the colour table For resolutions up to 256 colours, index is the index for the COLOR_ENTRY in the current colour table and simultaneously also the actual pixel value that is entererd in the bitmap. For graphic formats with more than 256 colours, index continues to denote the entry in the colour table; the pixel value however is output by the VDI as a direct RGB value in the bitmap. Return value: The function returns the old VDI colour index for vsl_color or similar functions Availability: As of NVDI 5.00. Group: Colour table functions See Also: Binding