•  Back 
  •  Colour table functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
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.9  v_ctab_idx2value                                            TOS

 Name:         »Inquire colour table value« - Return pixel value.

 Opcode:       206 (Sub-Opcode 5)

 Syntax:       uint32_t v_ctab_idx2value( int16_t handle, int16_t 
               index );

 Description:  The call v_ctab_idx2value returns the pixel value for 
               an entry in the colour table. If the passed index is 
               larger than the number of colour pens, then the pixel 
               value of the colour black will be returned.

                Parameter  Meaning

                handle     Workstation identifier
                index      Colour table index

 Return value: The function returns the pixel value.

 Availability: As of NVDI 5.00.

 Group:        Colour table functions

 See Also:     Binding