•  Back 
  •  VDI Attributes 
  •  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_skew()
vst_effects()                                                           VDI

Syntax

WORD vst_effects( handle, effects )
WORD handle, effects;

Function      vst_effects() defines which special effects are to be applied
              to text.

Opcode        106

Availability  Supported by all drivers.

Parameters    handle specifies a valid workstation handle. effects is a bit
              mask which specifies one or more special effects to apply to
              text as follows:

              Name        Bit    Meaning

              THICKENED    0     Thickened

              LIGHT        1     Lightened

              SKEWED       2     Skewed

              UNDERLINED   3     Underlined

              OUTLINED     4     Outlined

              SHADOWED     5     Shadowed (not currently supported)

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

              intin[0] = effects;

              vdi();

              return intout[0];

Return Value  vst_effects() returns the actual effects set by the call.

Comments      Special effects do not, in general, work well with outline
              text (besides underlining). To compensate, most type families
              have bold and italic faces in addition to the vst_skew()
              call.

See Also      vst_skew()

Group         VDI Attributes