•  Back 
  •  VDI Tablet Escapes 
  •  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-Filevt_alignment()
vt_origin()
vt_axis()                                                               VDI

Syntax

VOID vt_axis( handle, xres, yres, *xout, *yout )
WORD handle, xres, yres;
WORD *xout, *yout;

Function      vt_axis() sets the horizontal and vertical resolution for
              the graphics tablet (in lines).

Opcode        5

Sub-Opcode    82

Availability  Supported by all tablet drivers.

Parameters    handle specifies a valid workstation handle.
              xres and yres specify the new horizontal and vertical
              resoultion of the tablet respectively. Upon return, the
              WORDs pointer to by xout and yout are filled in with the
              resolution actually set.

Binding       contrl[0]= 5;
              contrl[1] = 0;
              contrl[3] = 2;
              contrl[5] = 82;
              contrl[6] = handle;

              intin[0] = xres;
              intin[1] = yres;

              vdi();

              *xout = intout[0];
              *yout = intout[1];

See Also      vt_alignment(), vt_origin()

Group         VDI Tablet Escapes