home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Global Amiga Experience
/
globalamigaexperience.iso
/
graphic
/
cad
/
xcad3000
/
xcdoc
/
drawstg
< prev
next >
Wrap
Text File
|
1995-07-10
|
2KB
|
64 lines
5.3.1 DRAW STRING
The DRAW STRING command is used to draw a string entity. A string is a
continuous sequence of line segments joined end to end, but treated as a
single entity.
COMMAND FORMAT
#DRAW STRING [modifiers] :Loc x1 ... xn [:Loc x1 ... xn] etc.
If the command is used with no modifiers, a string is created joining
each location digitised. To start a new string, enter a colon at any time
to re-enter IDENTS. ( See fig. 5.10 ).
MODIFIERS
LAYER Requires a layer number. This will override the current
active layer.
DEPTH Requires a depth number. This will override the current
active depth.
PARALLEL Format:
#DRAW STRING PARALLEL [value] :Ent x1 :Loc x2 :Ent ...
Will draw a string parallel to an existing string or polygon.
'x1' identifies the existing entity.
'x2' defines which side of the existing entity to draw the
string. If a value is entered after PARALLEL, the string will
be drawn at the specified distance from the existing entity.
( See fig. 5.11 ). If no value was entered, the distance is
calculated as the length from 'x2' to the nearest side of the
existing entity.
RECTANGLE Format:
#DRAW STRING RECTANGLE :Loc x1 x2 :Loc ...
Will draw a string with 4 segments in the shape of a rec-
tangle. 'x1' and 'x2' define the extents of the rectangle.
( See fig. 5.12 ).
HARDFONT Indicates a hardware line style will be entered.
.STYLE One of the predefined styles, a value between 0 and 15.
.THICKNESS Line thickness, a value between 1 and 5.
SOFTFONT Indicates a software line style will be entered. For a full
description of the SOFTFONT option, see the documentation
for the command DEFINE SOFTFONT.
ATTRIBUTE Used to enter one or more attributes associated with this
entity. For a full description of the ATTRIBUTE option, see
the documentation for the command ADD ATTRIBUTE.