•  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-Filevqt_extent()
vqt_width()
vqt_advance()
vqt_f_extent16()                                                        VDI

Syntax

VOID vqt_f_extent( handle, wstr, wstrlen, pts )
WORD handle;
WORD *wstr;
WORD wstrlen;
WORD *pts;

Function      vqt_f_extent16() is a variant binding of vqt_f_extent() that
              returns the bounding box required to enclose the specified
              string of 16-bit Speedo character indexed text.

Opcode        240

Availability  Available only with FSMGDOS or SpeedoGDOS.

Parameters    handle specifies a valid workstation handle. wstr points to
              a 16-bit text string composed of Speedo character indexes.
              wstrlen indicates the length of wstr. The array pointed to
              by pts is filled in with the same values as vqt_extent().

Binding       WORD i;

              for( i = 0; i < wstrlen; i++)
               intin[i] = wstr[i];

              contrl[0] = 240;
              contrl[1] = 0;
              contrl[3] = wstrlen;
              contrl[6] = handle;

              vdi();

              pts[0] = ptsout[0];
              pts[1] = ptsout[1];
              pts[2] = ptsout[2];
              pts[3] = ptsout[3];
              pts[4] = ptsout[4];
              pts[5] = ptsout[5];
              pts[6] = ptsout[6];
              pts[7] = ptsout[7];

Comments      This variation of the vqt_f_extent() binding should only be
              used when SpeedoGDOS has been properly configured with
              vst_charmap().

See Also      vqt_extent(), vqt_width(), vqt_advance()

Group         VDI SpeedoGDOS