•  Back 
  •  VDI FSMGDOS 
  •  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_effects()
vst_skew()                                                              VDI

Syntax

WORD vst_skew( handle, skew )
WORD handle, skew;

Function      vst_skew() sets the skew amount for fonts.

Opcode        253

Availability  Available only with FSMGDOS or SpeedoGDOS.

Parameters    handle specifies a valid workstation handle. skew specifies
              the amount to skew in tenths of degrees from 900 to 900.
              Negative values skew to the left and positive values skew to
              the right. skew values of -900 or 900 will result in a flat
              line.

Binding       contrl[0] = 253;
              contrl[1] = 0;
              contrl[3] = 1;
              contrl[6] = handle;

              intin[0] = skew;

              vdi();

              return intout[0];

Return Value  vst_skew() returns the skew value actually set.

Comments      This call should only be used with outline fonts. Note that
              this call generates a true 'skew' effect independent of that
              generated by vst_effects() which is an algorithmic 'skew'.
              The algorithmic 'skew' may be used on bitmap fonts but is
              rather unpleasant applied to outline fonts.

See Also      vst_effects()

Group         VDI FSMGDOS