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_origin()vt_alignment() VDISyntaxVOID vt_alignment( handle, dx, dy )
WORD handle, dx, dy;
Function vt_alignment() allows an offset to be specifies that will be
applied to all coordinates output from the graphics tablet.
Opcode 5
Sub-Opcode 85
Availability Supported by all tablet drivers.
Parameters handle specifies a valid workstation handle.
dx and dy are the delta offsets from ( 0, 0 ) to apply to
values from the graphics tablet.
Binding contrl[0] = 5;
contrl[1] = 0;
contrl[3] = 2;
contrl[5] = 85;
contrl[6] = handle;
intin[0] = dx;
intin[1] = dy;
vdi();
Comments This call is used to 'fine-tune' the true starting point of
the tablet.
See Also vt_origin()Group VDI Tablet Escapes