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-Filevst_arbpt32()vst_point()vst_height()vst_arbpt() VDISyntaxWORD vst_arbpt( handle, point, wchar, hchar, wcell, hcell )
WORD handle;
WORD point;
WORD *wchar, *hchar, *wcell, *hcell;
Function vst_arbpt() selects any point size for an outline font.
Opcode 246
Availability Available only with FSMGDOS or SpeedoGDOS.
Parameters handle specifies a valid workstation handle. point specifies
the point size at which to render outline text. Upon return,
the WORDs pointed to by wchar, hchar, wcell, and hcell will
be filled in with the width and height of the character and
the width and height of the character cell respectively.
Binding contrl[0] = 246;
contrl[1] = 0;
contrl[3] = 1;
contrl[6] = handle;
intin[0] = point;
vdi();
*wchar = ptsout[0];
*hchar = ptsout[1];
*wcell = ptsout[2];
*hcell = ptsout[3];
return intout[0];
Return Value vst_arbpt() returns the point size actually selected.
Comments This call only works with outline fonts, however, it is not
restricted by the point sizes listed in the 'ASSIGN.SYS'
file. To specify a fractional point size, use vst_arbpt32().
See Also vst_arbpt32(), vst_point(), vst_height()Group VDI FSMGDOS