•  Back 
  •  VDI Inquire 
  •  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-Filevqt_width()
vqt_fontinfo()                                                          VDI

Syntax

VOID vqt_fontinfo( handle, first, last, dist, width, effects )
WORD handle;
WORD *first, *last, *dist, *width, *effects;

Function      vqt_fontinfo() returns information regarding the current
              text font.

Opcode        131

Availability  Supported by all drivers.

Parameters    handle specifies a valid workstation handle.
              first and last each point to a WORD which will be filled in
              with the first and last character in the font respectively.
              dist points to an array of 5 WORDs which indicate
              the distances between the baseline and the point indicated
              as follows:

index=1024
width specifies the width of the largest cell in the font in pixels not including effects. effects points to an array of 3 WORDs which contain information relating to the offsets of the font when printed with the current effects.
index=1025
effects[0] specifies the number of X pixels of the left slant. effects[1] specifies the number of X pixels of the right slant. effects[2] specifies the extra number of X pixels to add to compensate for the special effects. Binding contrl[0] = 131; contrl[1] = contrl[3] = 0; contrl[6] = handle; vdi(); *first = intout[0]; *last = intout[1]; *width = ptsout[0]; dist[0] = ptsout[1]; dist[1] = ptsout[3]; dist[2] = ptsout[5]; dist[3] = ptsout[7]; effects[0] = ptsout[2]; effects[1] = ptsout[4]; effects[2] = ptsout[6]; Caveats SpeedoGDOS is not capable of generating values for dist[1] or dist[2] so dist[1] is set to equal dist[0] and dist[2] is set to equal dist[3]. See Also vqt_width() Group VDI Inquire