GDDM V3R2 Base Application Programming Guide
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
Example code to define and save a projection GDDM V3R2 Base Application Programming Guide SC33-0867-01 |
|
Although you can define a projection in the program that uses it, in practice you would probably build up a library of projections for standard documents, and restore them as needed. Here is a piece of code that defines and stores the projection shown in Figure 24 in topic 6.5. The projection contains one transform. The effect of the transform is to extract a 5 inches x 5 inches rectangular sub-image, alter its size, and position it in the top-left-hand corner of the target. Later on, another example program restores and uses the projection.
CALL IMPCRT(15); /* Create projection with id of 15 */
|
Copyright IBM Corporation 1990, 2012 |