•  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-Filev_gtext()
v_justified()
vst_alignment()                                                         VDI

Syntax

VOID vst_alignment( handle, halign, valign, *hout, *vout )
WORD handle, halign, valign;
WORD *hout, *vout;

Function      vst_alignment() affects the vertical and horizontal
              alignment of normal and justified text.

Opcode        39

Availability  Supported by all drivers.

Parameters    handle specifies a valid workstation handle. halign and
              valign affects where the coordinate specified by v_gtext()
              or v_justified() actually applies to as follows:

index=1043
On return, the WORDs pointed to by hout and vout are filled in with the values actually set. Binding contrl[0] = 39; contrl[1] = 0; contrl[3] = 2; contrl[6] = handle; intin[0] = halign; intin[1] = valign; vdi(); *hout = intout[0]; *vout = intout[1]; See Also v_gtext(), v_justified() Group VDI Attributes