•  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.35  vsl_width                                                TOS

 Name:         »Set polyline width«

 Opcode:       16

 Syntax:       int16_t vsl_width ( int16_t handle, int16_t width );

 Description:  The call vsl_width sets the line width for lines and 
               perimeters. The following apply:

                Parameter Meaning

                handle    Workstation identifier
                width     Line width (must be odd!)

               Note: The width of the line always refers to the 
               coordinates in the X-direction. As the VDI can only 
               draw lines an odd number of pixels thick, the actually 
               set width is smaller or equal to the selected width as 
               values will be rounded down to the nearest odd number. 
               The function is not available on all output devices.

               Most device drivers ignore the line type and draw solid 
               lines if the line is more than one pixel wide.

 Return value: The function returns the line width actually set.

 Availability: Supported by all devices.

 Group:        Lines attributes

 See Also:     Binding   v_pline   v_arc   v_ellarc   v_rbox