GDDM-GKS V1R1 Programming Guide and Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
GSPAR GDDM-GKS V1R1 Programming Guide and Reference SC33-0334-00 |
|||||||||||||
Purpose
Function: To set pattern representation. Attribute function. Defines the pattern array associated with a pattern index at a workstation. (See the section "GDDM-GKS restrictions" below.) Parameters wkid (specified by user) (fullword integer)
pai (specified by user) (fullword integer)
dimx (specified by user) (fullword integer) dimy (specified by user) (fullword integer)
isc (specified by user) (fullword integer) isr (specified by user) (fullword integer)
dx (specified by user) (fullword integer) dy (specified by user) (fullword integer)
colia (specified by user) (an array of fullword integers)
Operating states WSOP, WSAC, SGOP Related functions Inquire pattern representation (GQPAR), Inquire fill area facilities (GQFAF), Set fill area representation (GSFAR), Set fill area style index (GSFASI) Description The pattern index number and pattern array are stored in the pattern table (in the workstation state list) of the workstation wkid. The pattern array is used when fill area output primitives are displayed at the workstation with fill area interior style pattern, and the fill area style index is pai. The pattern array is the array of color indexes with dimensions (dx,dy) passed in the color index array colia. The parameters isc and isr give the start column and start row of the pattern array in colia. To pass the entire color index array as the pattern array, isc and isr should be 1 and dx and dy should be equal to the dimensions of the color index array, dimx and dimy. If fill areas are displayed with a pattern index that is not available at a workstation, pattern index 1 is used. If pattern index 1 is not available (that is, patterns are not supported at the workstation) the fill area is shaded with cross hatching using the fill area color index and default line type and width. If a pattern representation is set by this function, the changes may affect the displayed primitives by causing an implicit regeneration of the display, depending on the workstation implicit regeneration mode. GDDM-GKS Restrictions Patterns are not available on plotter workstations supported by GDDM-GKS. Patterns are not available on IBM 5080 workstations. On other graphics devices, the pattern size is fixed (patterns are not transformed and the pattern size attribute is ignored) and patterns have a fixed number of rows and columns. The values you specify for the pattern array are truncated or replicated at the workstation to fit the fixed pattern size of the device. Principal errors
|
Copyright IBM Corporation 1990, 2012 |