GDDM-GKS V1R1 Programming Guide and Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
Fill area GDDM-GKS V1R1 Programming Guide and Reference SC33-0334-00 |
|
The following example draws an arrow, fills it with solid color, and adds it to the previous example. The points of the three vertices are put into arrays, and the Fill area (GFA) function is called.
X array = (26.0,24.0,24.0,22.0,25.0,28.0,26.0,26.0)
Y array = (63.0,63.0,53.0,53.0,50.0,53.0,53.0,63.0)
SET FILL AREA INTERIOR STYLE (1)
FILL AREA (8, X array, Y array)
This sequence produces the following output:
|
Copyright IBM Corporation 1990, 2012 |