GDDM V3R2 System Customization and Administration
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Translation of user-defined shading patterns

GDDM V3R2 System Customization and Administration
SC33-0871-02



------------------ General-use programming interface -------------------

The GDDM Base API call GSPAT sets the current shading pattern. (The "current shading pattern" is the one used to fill graphics areas at the time they are drawn.) The only parameter to GSPAT is a number that identifies the shading pattern to be used:

  • If a number in the range 1 through 16 is specified, one of the GDDM-supplied shading patterns becomes the current shading pattern. The GDDM-supplied patterns are supported on all devices supported by GDDM. (Note, however, that the supplied patterns might not appear the same on all devices.)
    
    
  • If a number in the range 65 through 254 is specified, a user-defined pattern is used. A user-defined pattern must have been defined in a pattern set and loaded before it can be used.
    
    

User-defined patterns are supported only on devices that support loadable pattern sets. Some devices, such as IPDS printers, ASCII graphics displays, and devices running GDDM-PCLK or GDDM-OS/2 Link, do not support user-defined patterns and show such areas as solid black.

Subtopics:

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012