Radio Shack TRS-80 Operation Manual page 32

Hide thumbs Also See for TRS-80:
Table of Contents

Advertisement

Computer Graphics
Operation Manual
- - - - - - - - - - T R S - B O
® - - - - - - - - - -
area bounded by the perimeter is shaded in the specified
color (c).
LINE(14~,8~)-(5~~,2~~),1,B
(140,80) ...---
.....
style
Figure 13
(500,200)
style sets the pixel arrangement in 16-bit groups.
For example,
~~~~
1111
~~~~
1111 (binary),
~F~F
(hex), or
3855 (decimal).
style can be any number in the integer range (negative or
positive). Using hexadecimal numbers, you can figure the
exact line style you want. There will always be four numbers
in the hexadecimal constant.
To use hexadecimal numbers for style:
1. Decide what pixels you want OFF
(bit=~)
and ON (bit=l).
2. Choose the respective hexadecimal numbers (from the Base
Conversion Chart, Appendix E).
Example
Creates a
dashed line.
----------ltafJ-elllaell----------
-3~-

Advertisement

Table of Contents
loading

Table of Contents