Convert figure images to markdown
This commit is contained in:
parent
307b59584f
commit
77a95ec319
115 changed files with 218 additions and 403 deletions
6
35-02.md
6
35-02.md
|
|
@ -37,8 +37,7 @@ In Figure 35.2, the X dimension is the major dimension. This means that
|
|||
drawn. The trick, then, is to decide on the correct Y coordinates to
|
||||
accompany those X coordinates.
|
||||
|
||||
\
|
||||
**Figure 35.2** *Drawing between two pixel endpoints.*
|
||||

|
||||
|
||||
It's easy enough to select the Y coordinates by eye in Figure 35.2. The
|
||||
appropriate Y coordinates are 0, 0, 1, 1, 2, 2, based on the Y
|
||||
|
|
@ -73,8 +72,7 @@ the next than to the current Y coordinate. The third pixel is drawn at
|
|||
adjustment of one pixel in the current Y coordinate. The running error
|
||||
of the pixel actually drawn at this point is C minus D.
|
||||
|
||||
\
|
||||
**Figure 35.3** *The error term in Bresenham's algorithm.*
|
||||

|
||||
|
||||
The fourth pixel has an X coordinate of 3. The running error at this
|
||||
point is E minus D; since this is less than 1/2, the current Y
|
||||
|
|
|
|||
Loading…
Reference in a new issue