Sharp PC-1500 Instruction Manual page 128

Hide thumbs Also See for PC-1500:
Table of Contents

Advertisement

Table
2
:
All
and
more
about
Sharp PC-1500
at
http://www.PC-1500.info
Line ·type
Value
0
1
2
3
4
5
6
7
B
9
Resulting
Line Size
Solid Line
0.4
mm dash
0.6
mm
dash
0.8
mm
dash
1.0 mm dash
1.2 mm dash
1.4
mm dash
1.6
mm
dash
1.8 mm dash
Pen Up (no
line)
0
2
···
·-··········--------- ------
3 --
- --
-
---
--
-···-·······
d
--
-
--
-·-
-
- - - - -
-
---
5
-
--
-
-
--
---
----
-
6 -
-
-
-
-
- - - - - - - -
/
--------
----
8
- - - - - - - - -
-
9
Used
in
another
manner
the
L INE
command
interprets the point specifications as the endpoints
of a
diagonal. It
w
ill
then p
roceed
to
d
raw
the
box
represented
by
the
diagona
l. The
form
for
this
LINE
statemen
t
is:
LIN
E
(X
1. X2)
-
(Y1
.
Y2).
line·
type,
color.
B
The
upper
case 13
indicates that
this
is
a
box
drawing command
.
The other parameters are the
same as
for
the
previous
form of the
command.
The
fi
nal
form
of
t
he
LINE
command allows
multiple point
specifications
to be
made. Each
point,
after the
first,
represents
a destination e1)dpoint of
the
next
line
segment
to
be
dr\J\Vn
.
The current
position
is
assumed
as
the starting
endpoint
for
the
line segment. This
form
of the
LINE command is:
LINE
(X
1,
Yll
-
(X2, Y2)
-
..
. (X6, Y6},
line·tvpe,
color
The
three dots in the
form above
are
used
to
indicate that a series of
point
specifications
(up
to
six
in a
row}
may
be given
.
Note
that the
B parameter may NOT be used
in this
form
of
the
command.
An
example
program to
draw
a
triangle
using
four line
segments is
given
bclo1ov.
Line
15
serves
merely to establish the
origin,
while
!he
triangle
is
d
rawn
by line
20:
Do not
sale
this PDF
!!!
10:GRAPH
J5:LJNE
<0.
1
0)
-
(
10
0,0),9:SORGN
20:L JNE
<0,0)-(50
,
50)-(
-
.50, 50)
-
(-50,
-
5
.
0 )
-
(0,
0
)
' 0,
0
30:
TEXT
126

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents