Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF |
BOOK
Controlling arrow heads and tails GDDM-PGF V2R1.3 OPS User's Guide SC33-1776-00 |
|
Beside the subcommands and keywords supported by LINE (WIDTH, RADIUS, CURVE, DRAW, WFILL, TURN, and SHEAR), you can use the following, which are unique to ARROW: HEAD, TAIL, DOUBLE, and HSCALE. You can choose between six heads, using the keyword HEAD and a numerical value from -1 to 5. The default head is a right triangle (HEAD 0). HEAD 1 applies to wide lines, and narrows them to a point, as in: arrow 20 20 50 55 w 3, head 1You can set the tail style using the keyword TAIL with a numerical value from 0 to 4. The default is no tail (TAIL 0). HEAD 1 and TAIL 1 go together, while you can use TAIL 2 together with HEAD 0, 2, or 3. HEAD and TAIL can be abbreviated to H and T, as in: arrow 20 20 50 55 h 3 t 2You can display the available heads and tails by typing ? after H or T, or in a position where you might put a new operand. For example: arrow ? arrow 10 10 40 40 h ? arrow 10 10 40 40 h 4 ?Figure 40 shows the resulting display:
If you want heads at both ends, use the keyword DOUBLE (D), as in: arrow 20 20 50% 50% d w 2mmHeads and tails are drawn with fixed sizes in proportion to the width of the arrow, but at least 1.5 units wide. HEAD 1 and TAIL 1 are as wide as the arrow; other heads and tails are three times as wide as the arrow. You can change this using the keyword HSCALE (HS). HSCALE adjusts the proportion between the width of the head and tail and the width of the arrow, as in: arrow 5 5 60 60 w 2mm, h 2, hs 2This produces a head twice as big as the default. The default corresponds to HSCALE 1: three times the width of the arrow, or 6mm. The head in the example above is therefore 12mm wide. Figure 41 illustrates the effect of HSCALE. __________________________________________________________________________________ | | | | | | | | | | | | | | | | |__________________________________________________________________________________| You can turn, shear, and use REFP to change the fix-point, just as you can with LINE. Figure 42 illustrates the effects you can achieve with TURN and SHEAR. __________________________________________________________________________________ | | | | | | | | | | | | | | | | |__________________________________________________________________________________| |
Copyright IBM Corporation 1990, 2012
|