•  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-Filevsl_type()
vsl_udsty()                                                             VDI

Syntax

VOID vsl_udsty( handle, pattern )
WORD handle, pattern;

Function      vsl_udsty() sets the user-defined line type.

Opcode        113

Availability  Supported by all drivers.

Parameters    handle specifies a valid workstation handle. pattern is
              a WORD which defines the USERLINE style. It is essentially
              a bit mask which is applied to a solid line and repeated
              along the length of the line. A value of 0xFFFF would create
              a solid line. A value of 0xAAAA would produce a line where
              every other pixel was set.

Binding       contrl[0] = 113;
              contrl[1] = 0;
              contrl[3] = 1;
              contrl[6] = handle;

              intin[0] = pattern;

              vdi();

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

See Also      vsl_type()

Group         VDI Attributes