•  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-Filevq_tabstatus()
vq_tdimensions()                                                        VDI

Syntax

VOID vq_tdimensions( handle, xdim, ydim )
WORD handle;
WORD *xdim, *ydim;

Function      vq_tdimensions() returns the scanning dimensions of the
              attached graphics tablet.

Opcode        5

Sub-Opcode    84

Availability  Supported by all tablet drivers.

Parameters    handle specifies a valid workstation handle.
              xdim and ydim point to WORDs which upon function exit will
              contain the X and Y dimensions of the tablet scanning area
              specified in tenths of an inch.

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

              vdi();

              *xdim = intout[0];
              *ydim = intout[1];

See Also      vq_tabstatus()

Group         VDI Tablet Escapes