GDDM V3R2 Base Application Programming Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
GSPUT GDDM V3R2 Base Application Programming Reference SC33-0868-02 |
|
Function To restore graphics data. GSPUT (control, length, graphics-data) Parameters control (specified by user) (fullword integer)
length (specified by user) (fullword integer)
graphics-data (specified by user) (character)
Description Restores the graphics data provided in the graphics-data parameter into the current graphics viewport, using the current graphics window coordinates system. The default graphics field, picture space, viewport, and window are defaulted if they were not already specified. Any series of graphics primitives (such as lines, arcs, areas, character strings) together with their attributes can be coded as a string of data bytes in graphics data format (GDF). This consists of a series of GDF orders; see "GDF order descriptions" in topic 10.0. Each order defines a graphics primitive or an attribute setting that applies to following primitives. If graphics data is held by an application program as a series of GDF orders, it can be supplied to GDDM by a single GSPUT call, rather than by many calls to the individual primitives. The interpretation of a GDF order string is equivalent to the execution of call statements corresponding to the orders in the string. The current position depends on the last order executed, and the current values of the attributes (such as color and line type) depends on the attribute setting orders that have occurred. If the data was generated by previous calls to GSGET, orders exist within that data to set the segment attributes to those that were in effect when the data was obtained. These GDF orders may change any attribute settings that are currently in effect; see GSSATI. Principal errors
If such an error occurs, the individual orders before the order in error will be processed, but all remaining orders in the graphics-data will be ignored. |
Copyright IBM Corporation 1990, 2012 |