Graphics Command Set; The Drawing Order Coordinate System - IBM 6400 Programmer's Reference Manual

Line matrix printers, intelligent printer data stream
Table of Contents

Advertisement

Graphics Command Set

The graphics command set contains the commands and data controls for
presenting graphics pictures on a logical page, page segment, or overlay area
on the physical medium. The following commands are the graphics command
set:
Graphics is a data type the printer uses to present line art picture drawings in a
graphics object area on a page. A sequence of drawing orders produce arcs,
lines, fillets, character strings, markers, and other elements that define the
drawing. These orders, grouped into one or more segments, present the picture.
The control unit sends a Write Graphics Control command to the printer to
establish the control parameters and initial drawing conditions for presenting the
picture data. The picture segments themselves are sent to the printer as data in
one or more Write Graphics commands.
Knowing how the graphics picture is developed allows an understanding of the
relationship between the Write Graphics command and the Write Graphics
Control command. The following pages explain the drawing order coordinates,
the graphics medium presentation space, and the graphics object area.

The Drawing Order Coordinate System

The drawing orders specify graphics in an abstract space rather than directly on
the page. This allows repositioning graphics on a page without changing the
drawing orders. Coordinates (Graphics X and Y) specify the position of the
graphic.
Note: The Graphics X and Y coordinates are not the same as the media X and Y
coordinates. The horizontal axis is Graphics X; the vertical axis is Graphics Y.
The intersection of the Graphics X and Y axes is coordinate (0,0). The horizontal
axis is positive to the right of center and negative to the left of center. The
vertical axis is positive to the top of center and negative to the bottom of center.
Therefore, both positive and negative values are valid. Negative values are
specified in twos-complement form.
Table 73. Graphics Commands
Name
Command
Write Graphics
X
D684
'
Control
Graphics Area
Position
Graphics Output
Control
Graphics Data
Descriptor
Write Graphics
X
'
D685
Begin Segment
Introducer
Sub-
Reference
command
See "Write Graphics Control
'
(WGC)" on page 83.
X
AC6B
See "Graphics Area Position
'
'
Control (GAP)" on page 83.
X
A66B
See "Graphics Output Control
'
'
(GOC)" on page 85.
X
'
A6BB
'
See "Graphics Data Descriptor
(GDD)" on page 87.
'
See "Write Graphics (WG)" on
page 94 and the
X
'
70
'
See "Begin Segment Introducer
(BSI)" on page 95.
Chapter 3. IPDS Commands Reference
Graphics Command Set
79

Advertisement

Table of Contents
loading

Table of Contents