Scale-To-Fit Mapping - IBM 6400 Programmer's Reference Manual

Line matrix printers, intelligent printer data stream
Table of Contents

Advertisement

object area. This size reduction is done to scale, keeping the same proportions
as the original graphics drawing.
Notes:
1. The printer will not rescale graphics image data. If the image data does not
fit within the output area, clipping of the image data occurs.
2. Graphics markers are not scaled; they are always 3 mm (0.12 in.
[ 17/144-in. ] ) square. If markers are drawn close to the boundary of a page
and the page is then scaled down, the center points of the markers are
scaled closer to the boundary of the page but the marker size is still the
same. The markers may be clipped from the page if the scaling factor
scales the centers of the markers too close to the edge.
Figure 19. Scale-to-Fit Mapping
Center and Trim Mapping: The center of the graphics window is mapped to the
center of the graphics object area and the graphics data is presented at the
specified scale. Any portion of the picture that goes outside the graphics object
area is clipped to the graphics object area boundary. Figure 20 shows the result
of center-and-trim mapping. For this example, the graphics window is shown
smaller than a previously defined graphics picture. This picture is to be placed
on the physical medium. The parameters in the Graphics Data Descriptor
specify the size of the graphics window (in graphic medium presentation space
(GPS) units). The parameters in the Graphics Area Position and the Graphics
Output Control specify the size and location of the graphics object area on the
physical medium.
If the graphics object area is smaller than the graphics window, as shown in this
example, a portion of the graphics picture is eliminated. The centers of the
Graphics Command Set
Chapter 3. IPDS Commands Reference
89

Advertisement

Table of Contents
loading

Table of Contents