•  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.95  vswr_mode                                                TOS

 Name:         »Set writing mode« - Set the writing mode for almost 
               all graphic functions.

 Opcode:       32

 Syntax:       int16_t vswr_mode ( int16_t handle, int16_t mode );

 Description:  The call vswr_mode determines the way that source 
               pixels and destination pixels are combined to form the 
               resulting colour values. The following apply:

                Parameter  Meaning

                handle     Workstation identifier
                mode       Writing mode:
                            1 =     Replace
                            2 =     Transparent
                            3 =     XOR
                            4 =     Reverse transparent

               Notes: The normal writing mode is the Replace mode. The 
               number of available modes can be obtained with the 
               vq_extnd function; if a mode that is not present is 
               passed, then the Replace mode will be used.

               Description of the VDI writing modes provides more 
               detailed particulars and an illustration of the effect 
               of various writing modes.

 Return value: The function returns the writing mode actually set.

 Availability: Supported by all devices.

 Group:        Superior attributes

 See Also:     Binding   v_pline   v_pmarker   v_gtext   v_fillarea 
               v_contourfill   vr_recfl   v_bar   v_arc   v_pieslice 
               v_circle   v_ellarc   v_ellpie   v_ellipse   v_rbox 
               v_rfbox   v_justified