GDDM V3R2 Base Application Programming Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
GSSORG GDDM V3R2 Base Application Programming Reference SC33-0868-02 |
|
Function To set segment origin. GSSORG (segment-id, x, y) Parameters segment-id (specified by user) (fullword integer)
x (specified by user) (short floating point)
y (specified by user) (short floating point)
Description Defines the segment origin of the identified segment. The identified segment need not be transformable. Setting a segment origin provides a reference point about which subsequent segment transformations will be performed. Note that GDDM does not provide a visible indication of the position of the segment origin. When a segment is created, all primitives are drawn relative to the window origin identified by (0,0) in world coordinates. By default, the segment origin coincides with the window origin at the time the segment is created. The GSSPOS call uses the segment origin as the reference point when it repositions the segment. The GSSCPY call uses the segment origin to determine the placement of the copied segment. The GSSAGA call uses the segment origin as the center point for rotate, shear, and scale. The results returned in the GSQAGA call also assume this point as the center of rotate, shear, and scale. The GSQORG call returns the position of the segment origin in current world coordinates. When a segment is used as an echo for a locator-logical-input device, the segment's origin establishes its position. Principal errors
|
Copyright IBM Corporation 1990, 2012 |