GDDM V3R2 Base Application Programming Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
IMRSCL GDDM V3R2 Base Application Programming Reference SC33-0868-02 |
|
Function To scale extracted image. IMRSCL (proj-id, h-scale, v-scale) Parameters proj-id (specified by user) (fullword integer)
h-scale (specified by user) (short floating point)
v-scale (specified by user) (short floating point)
Description Scales the extracted image in the horizontal direction, or vertical direction, or both of these. The scaling factors h-scale and v-scale are multipliers for h-pixels and v-pixels. Note: Negative h-scale and v-scale values are not allowed, and cause an error message to be issued. The parameters h-pixels and v-pixels for the extracted image become h-pixels*h-scale and v-pixels*v-scale, rounded to the nearest integer. Only one IMRSCL call is allowed for a given transform. Subsequent IMRSCL calls are an error. The scaling factors h-scale and v-scale refer to the extracted image after it has been operated on by any calls that were specified earlier. Therefore, a rotation by 90 degrees followed by a scale with an h-scale value of 2 and a v-scale value of 1 corresponds to a scale with an h-scale value of 1 and a v-scale value of 2 followed by a rotation by 90 degrees. The scaling algorithm to be used can be specified with the IMRRAL call. Principal errors
|
Copyright IBM Corporation 1990, 2012 |