GDDM-GKS V1R1 Programming Guide and Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
GQCR GDDM-GKS V1R1 Programming Guide and Reference SC33-0334-00 |
|||||||||||||
Purpose
Function: To inquire color representation. Inquiry function. Returns the color representation values of a color table entry in a workstation state list. Parameters wkid (specified by user) (fullword integer)
coli (specified by user) (fullword integer)
type (specified by user) (fullword integer)
errind (returned by GDDM) (fullword integer)
cr (returned by GDDM) (short floating point)
cg (returned by GDDM) (short floating point)
cb (returned by GDDM) (short floating point)
Operating states WSOP, WSAC, SGOP Related functions Set color representation (GSCR) Description The color representation in red, green, and blue intensities for the color index coli is returned. If the inquired information is available, it is returned as output, and errind is returned as 0 (zero). If the inquired information is not available, all output is invalid, and errind returns an error indicator. If you request set values (type = 0), GQCR returns the values you set when you defined the color associated with color index coli. If you request realized values (type = 1), GQCR returns the closest approximation to the set values that the device can support. If the device is capable of representing the color you defined, set values and realized values are the same. You can find out which color indexes are in use by calling Inquire list element of color indexes (GQECI). Principal errors
|
Copyright IBM Corporation 1990, 2012 |