GDDM-GKS V1R1 Programming Guide and Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
Text GDDM-GKS V1R1 Programming Guide and Reference SC33-0334-00 |
|
The character up vector is a line from the origin (0,0) to a point in world coordinates, and it establishes an up direction for text characters. You set this attribute with the function Set character up vector (GSCHUP). The following illustration shows the text strings displayed with eight different character up vectors. When you set text alignment, you specify both horizontal and vertical alignment values. You set this attribute with the function Set text alignment (GSTXAL). Here, the string "input" is displayed at the text alignment positions supported by GDDM-GKS. This example displays the string "critical" centered at the top of the arrow from the previous example.
SET TEXT ALIGNMENT (2,1)
TEXT (25.0, 68.0, 'critical')
This sequence produces the following output:
Setting the text path specifies the position (right, left, up, or down) of each character in the string relative to the preceding character. |
Copyright IBM Corporation 1990, 2012 |