•  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_axis()
vt_resolution()                                                         VDI

Syntax

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

Function      vt_resolution() sets the horizontal and vertical resolution
              of the graphics tablet (in lines per inch).

Opcode        5

Sub-Opcode    81

Availability  Supported by all tablet drivers.

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

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

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

              vdi();

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

See Also      vt_axis()

Group         VDI Tablet Escapes