GDDM V3R2 Base Application Programming Guide
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
Changing the direction of a graphics-text string GDDM V3R2 Base Application Programming Guide SC33-0867-01 |
|
Two streets on the map run in a vertical direction. However, the default direction for writing graphics text is from left to right. Before labeling these streets, the character-direction attribute is changed. At G , the parameter of the GSCD call specifies that each successive character box is to adjoin the bottom of the preceding one instead of the right-hand side. This causes the names of the streets to be written in a downward direction with each letter in an upright position. This is the standard direction for Chinese and Japanese text. You can also use it to label the vertical axis of a chart. Another way of labeling these streets would be to specify for the character-angle attribute a value of 0 for dx and a value of -1 for dy. With mode-3 graphics text, this would cause the names to be written downward along each street but the letters would all be rotated by 90. With mode-2 characters, however, letters are not rotated, so the effect is similar to that of the character-direction attribute. |
Copyright IBM Corporation 1990, 2012 |