•  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_alignment()
vt_origin()                                                             VDI

Syntax

VOID vt_origin( handle, xorigin, yorigin )
WORD handle, xorigin, yorigin;

Function      vt_origin() sets the origin point for the tablets'
              upper-left point.

Opcode        5

Sub-Opcode    83

Availability  Supported by all tablet drivers.

Parameters    handle specifies a valid workstation handle.
              xorigin and yorigin specify the new upper-left point
              recognized by the tablet.

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

              intin[0] = xorigin;
              intin[1] = yorigin;

              vdi();

See Also      vt_axis(), vt_alignment()

Group         VDI Tablet Escapes