Chapter 16
Advanced Graphics in Memory
In this chapter we continue our exploration of generating graphics
patterns in memory. Specifically, a one-dimensional array will be used
to create a two-dimensional printed figure.
The sequence of ones and zeros stored in this array will be used to
generate all the pin patterns to be printed. As shown in Figure 16-1, a
one in the array will indicate a graphics dot.
Array
•
0
•
0
•
0 0
• •
0
0
•
0
•
0
• •
0 0
•
•
0
•
0
•
0 0
• •
0
0
•
0
•
0
• •
0 0
•
Design
•
0
•
0
•
0 0
• •
0
0
•
0
•
0
•
•
0 0
•
0
•
0
•
0
• •
0 0
•
•
0
•
0
•
0 0
• •
0
•
0
•
0
•
0 0
• •
0
0
•
0
•
0
• •
0 0
•
Figure 16·1. Array into design.
183