•  Back 
  •  VDI SpeedoGDOS 
  •  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-Filevst_arbpt()
vst_point()
vst_height()
vst_arbpt32()                                                           VDI

Syntax

fix31 vst_arbpt( handle, point, wchar, hchar, wcell, hcell )
WORD handle;
fix31 point;
WORD *wchar, *hchar, *wcell, *hcell;

Function      vst_arbpt32() selects a fractional 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 as a fix31
              value. 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] = 2;
              contrl[6] = handle;

              intin[0] = (WORD)(point >> 16);
              intin[1] = (WORD)(point & 0xFFFF);

              vdi();

              *wchar = ptsout[0];
              *hchar = ptsout[1];
              *wcell = ptsout[2];
              *hcell = ptsout[3];

              return (((fix31)intout[0] << 16) | (fix31)intout[1]);

Return Value  vst_arbpt32() 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.

See Also      vst_arbpt(), vst_point(), vst_height()

Group         VDI SpeedoGDOS