•  Back 
  •  VDI Attributes 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filevq_extnd()
vsl_width()                                                             VDI

Syntax

WORD vsl_width( handle, width )
WORD handle, width;

Function      vsl_width() determines the width of lines drawn with
              line-drawing functions and as perimeters to other objects.

Opcode        16

Availability  Supported by all drivers.

Parameters    handle specifies a valid workstation handle.
              width specifes the width future lines drawn will be.

Binding       contrl[0] = 16;
              contrl[1] = 1;
              contrl[2] = 0;
              contrl[3] = 0;
              contrl[6] = handle;
              ptsin[0] = width;
              ptsin[1] = 0;
              vdi();
              return ptsout[0];

Comments      You must call vsl_type(handle, 6) to actually utilize
              this style.

Return Value  vsl_width() returns the actual line width set.

See Also      vq_extnd()

Group         VDI Attributes