Creating Two Panels Within A Segment - Tektronix 4106 Operator's Manual

Computer display terminals
Table of Contents

Advertisement

GETTING ACQUAINTED
CREATING TWO PANELS WITHIN A SEGMENT
Next, you 'll draw a red star inside the blue box
,
using the same sequence of
commands for drawing the blue box, but with different parameters
.
This time
,
you
'
ll
specify that the border not be drawn (by issuing 0 in the third parameter of the
BEGINPANEL command)
,
so you won 't see anything on the screen until you end
the panel.
Enter the following sequence of
commands:
SGOPEN 2
FILLPATTERN
-
2
BEGIN PANEL 850, 1250,0
DRAW 1250,2300
DRAW 1650, 1250
DRAW 650, 1900
DRAW
1850,1900
ENDPANEL
The display should now look like Figure 2-2.
Notice that you did not end the segment being defined
,
but did issue an
ENDPANEL command
.
This closes the panel definition
,
but leaves the segment
open for adding more elements. In the previous sequence of commands, you didn't
need an ENDPANEL command because the SGCLOSE command closed the
panel as well as the segment. Once again
,
the graphics position is implied and
returns to the point specified in the BEGIN PANEL command.
The middle of the star is not filled with red because of the way its boundaries cross.
Part of the enclosed space is excluded from the panel definition
.
4981 -3
Figure
2-2.
Box With
Star.
2-12
4106/4107/4109 OPERATORS

Advertisement

Table of Contents
loading

This manual is also suitable for:

41074109

Table of Contents