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_extent()vqt_f_extent()vqt_advance32() VDISyntaxVOID vqt_advance32( handle, wch, advx, advy )
WORD handle, wch;
fix31 *advx, *advy;
Function vqt_advance32() is a variation of the binding for
vqt_advance() which returns the advance vector and remainder
for a character as two fix31 values..
Opcode 247
Availability Available only with SpeedoGDOS.
Parameters handle specifies a valid workstation handle. wch contains
the character which you desire information for. Upon return
the fix31s pointed to by advx and advy will be filled in
with the correct advance vector.
Binding contrl[0] = 247;
contrl[1] = 0;
contrl[3] = 1;
contrl[6] = handle;
intin[0] = wch;
vdi();
*advx = (fix31)((ptsout[4] << 16) | ptsout[5]);
*advy = (fix31)((ptsout[6] << 16) | ptsout[7]);
Comments advx and advy, when added to the position where the
character was rendered will indicate the position to draw
the next character. This advance vector works in all
directions with all character rotations.
See Also vqt_width(), vqt_extent(), vqt_f_extent()Group VDI SpeedoGDOS