GDDM V3R2 Base Application Programming Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Setting the current shading pattern, using GSPAT

GDDM V3R2 Base Application Programming Guide
SC33-0867-01



The scheme for shading patterns is similar to that for markers. There are 16 system patterns, and users may also create their own patterns using the Image Symbol Editor (but not the Vector Symbol Editor), and then specify them for use. At R in the TOWN program, the GSPAT call is used to select a shading pattern for the path around the fountain.

All subsequently drawn areas are shaded in this pattern until a new shading pattern is specified. Values in the following ranges can be specified on the call parameter:

0
Default (initially solid on displays, half-tone on printers)

1 through 16
GDDM system-defined patterns

65 through 254
User-defined patterns


The available system patterns for displays are shown in Figure 10.


   PICTURE 5         

Figure 10. The 16 GDDM system shading patterns

Subtopics:

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012