home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 18
/
CD_ASCQ_18_111294_W.iso
/
dos
/
graphic
/
pep16
/
chapt10.txt
< prev
next >
Wrap
Text File
|
1994-06-22
|
5KB
|
100 lines
<Chapter 10: Setting the Graphic Defaults>
Use the G-DEFAULTS menu to set the default properties that will apply
to subsequently inserted graphic picture elements. A separate menu, the
T-DEFAULTS menu, controls the default properties for text elements. (See
Chapter <[11]>.)
<Section 10.1: Pattern>
The G-DEFAULTS/PATTERN command displays a menu of the 16 available
fill patterns. Each pattern is associated with a key letter (0 to 9 and A
to F). Select a pattern by pressing its key letter. The set of available
patterns is determined by the currently installed pattern file. This can
be changed by using the SETUP/INSTALL/PATTERNS command <[12.5.2]>.
<Section 10.2: Border>
The G-DEFAULTS/BORDER command controls the default border color for
filled regions. Press the command letter to display a menu of 17 choices,
the 16 colors and NONE. If you choose a color, that color becomes the
default border color that applies when groups are converted into filled
regions (see the MODIFY/FILL command <[4.8]>). If you choose NONE, then no
border will be drawn when regions are created.
<Section 10.3: Color>
Use the G-DEFAULTS/COLOR command to select a new graphic default
color. Subsequently inserted lines and filled regions will be drawn in
this color. (To set the default color for text labels use the
T-DEFAULTS/COLOR command <[11.5]>).
If you have a monochrome display, all colors appear the same except
color F (BACKGROUND). The display of most monochrome monitors for the PC
and compatibles is green or amber on a black background. Most printers
print black on a white background. Therefore, the names BLACK and WHITE
are not used in the color menu, and the substitutes FOREGROUND and
BACKGROUND are used instead. FOREGROUND color will be green or amber on
screen and black on paper. BACKGROUND color will be black on screen and
white on paper.
<Section 10.4: Override>
Use the G-DEFAULTS/OVERRIDE command you to override the native colors
and/or line styles of subsequently inserted objects. Type the command
letter to cycle through the four modes: NONE, COLOR, LINES, and BOTH. When
the setting is NONE, an inserted object is drawn exactly as it was
defined, using its native colors and line styles. When the setting is
COLOR, the object is drawn in the current default color. When the setting
is LINES, the object is drawn in the current default line style. When the
setting is BOTH, the object is drawn in both the current default color and
line style.
<Section 10.5: Rotation>
Use the G-DEFAULTS/ROTATION command to set the rotation of all
objects subsequently inserted. Press the command letter to display a menu
of eight choices: 0, 90, 180, 270 (degrees clockwise), \, -, /, | (mirror
images).
<Section 10.6: Stretches>
Use the G-DEFAULTS/STRETCHES command to set the default stretch
factors applied to all subsequently inserted objects. It is an XY input
command. If you specify X=1/2 and Y=1/2, for example, all objects inserted
thereafter will initially appear at half of their native size.
<Section 10.7: Line-style>
Use the G-DEFAULTS/LINE-STYLE command to set the default nibtype,
pensize and dashing parameters.
<Section 10.7.1: Nibtype>
Use the G-DEFAULTS/LINE-STYLE/NIBTYPE command to set the nib, or pen
point, to be used in drawing lines and region boundaries. Type the command
letter to display a menu of possible nibtypes. The nib shapes include:
point, horizontal line, vertical line, up-sloping line, down-sloping line,
box, ellipse, and rhombus. Most nibtypes require X and Y input to
determine their size. These are set by the Pensize command (see below).
<Section 10.7.2: Pensize>
Use the G-DEFAULTS/LINE-STYLE/PENSIZE command to set the size of the
nib used in drawing lines and region boundaries. It is an XY input
command; type in the desired values. Note that three nibtypes ignore one
or both of these settings. They are: Point, which is always one pixel by
one pixel, Horizontal line, which ignores the Y setting, and Vertical
line, which ignores the X setting. (See the NIBTYPE command, above.)
<Section 10.7.3: Dashes>
The G-DEFAULTS/LINE-STYLE/DASHES command has two capabilities. Use it
to turn line dashing on and off. It is also an XY input command in which,
when dashing is on, X = dash length, and Y = space between dashes (in
pixels). If the pensize (see above) is larger than 0, the dashes will
overlap unless you set Y sufficiently large to compensate.
<Section 10.8: Initialize>
Use the G-DEFAULTS/INITIALIZE command to reset all graphics
defaults to their standard values:
COLOR 0
PATTERN 0
BORDER 0
OVERRIDE NONE
ROTATION 0
STRETCH 1 X 1
NIBTYPE POINT
PENSIZE 4 X 4
DASHES OFF 0 X 0