•  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.9  vsf_color                                                 TOS

 Name:         »Set fill colour index« - Set the colour with which a 
               2-dimensional graphic object is to be filled.

 Opcode:       25

 Syntax:       int16_t vsf_color ( int16_t handle, int16_t color_index 
               );

 Description:  The call vsf_color sets the fill colour for 2- 
               dimensional graphic objects.

                Parameter    Meaning

                handle       Workstation identifier
                color_index  Requested fill color index

               Note: The colour indices 0 and 1 are always available; 
               all others depend on the output device being used. An 
               invalid colour index will be replaced by the value 1. 
               The colour index has no effect on multicoloured 
               patterns; it should be set to 1 in this case.

 Return value: The function returns the actual colour set.

 Availability: Supported by all drivers.

 Group:        Fill attributes

 See Also:     Binding   v_fillarea   v_contourfill   vr_recfl v_bar 
               v_pieslice   v_circle   v_ellipse   v_ellpie   v_rfbox 
                 vsf_udpat