•  Back 
  •  Superior attributes 
  •  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.4.6.109  v_setrgbi                                               TOS

 Name:         »Set colour representation« - Set the colour or 
               intensity.

 Opcode:       5 (Escape 18500)

 Syntax:       void v_setrgbi( int16_t handle, int16_t primtype, 
               int16_t r, int16_t g, int16_t b, int16_t i );

 Description:  The call v_setrgbi overrides a previously set colour 
               specification with an RGB triple (for colour devices) 
               or intensity (for monochrome devices). This call is 
               currently implemented only for the PostScript driver.

                Parameter  Meaning

                handle     Workstation identifier
                primtype   Primitive type:
                           17: Line
                           20: Marker
                           22: Text
                           25: Fill
                r          Red portion in tenths of a percent
                g          Green portion in tenths of a percent
                b          Blue portion in tenths of a percent
                i          Intensity

 Return value: The function does not return a result.

 Availability: GEM/3 Release 3.1

 Group:        Superior attributes

 See Also:     Binding   v_setrgb