•  Back 
  •  Superior attributes 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File7.4.6.49  vst_alignment                                            TOS

 Name:         »Set graphic text alignment« - Set the alignment for 
               normal and justified text output.

 Opcode:       39

 Syntax:       void vst_alignment ( int16_t handle, int16_t hor_in, 
               int16_t vert_in, int16_t *hor_out, int16_t *vert_out );

 Description:  The call vst_alignment determines the horizontal and 
               vertical alignment of a text.

               Example:


index=2997
The function is passed the following Parameters: Parameter Meaning handle Workstation identifier hor_in Horizontal alignment: 0 = Left justified (default) 1 = Centered 2 = Right justified vert_in Vertical alignment: 0 = Baseline (default) 1 = Half line 2 = Ascent line 3 = Bottom line 4 = Descent line 5 = Top line hor_out Selected horizontal alignment vert_out Selected vertical alignment Note: The default setting is the left edge of the baseline. For an invalid input for the horizontal alignment, the text is flushed left ('left-justified'). For an invalid input for the vertical alignment, the text will be aligned on the baseline. Return value: The function does not return a result. Availability: Supported by all drivers. Group: Text attributes See Also: Binding v_gtext v_justified