•  Back 
  •  Libraries 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure C Library Documentation
Author      : John Kormylo
Version     : LIB.HYP 1.0
Subject     : Documentation/Pure C Library
Nodes       : 1309
Index Size  : 32068
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ vst_alignment ]

#include <vdi.h>

void vst_alignment( int handle, int hor_in, int vert_in,
                     int *hor_out, int *vert_out );

  <handle> is the VDI Handle.
  <hor_in> is the horizontal adjustment requested:
           0 = left justified (default)
           1 = centered
           2 = right justified
  <vert_in> is the vertical adjustment requested:
            0 = base line (default)
            1 = half line (top of a, c, etc.)
            2 = assent line (top of upper case)
            3 = bottom (underline)
            4 = descent line (bottom of g, j, etc.)
            5 = top (top of outlined "|")
  <hor_out> returns the horizontal adjustment implemented.
  <vert_out> returns the vertical adjustment implemented.


Function changes the character alignment for text output (relative to
the starting x,y coordinates).
Default is to start at the lower left corner (upper case letters). 

VDI Opcode 39

See also VDI Attributes, v_gtext() and v_justified().