Normal quotes
This commit is contained in:
parent
5e10794a24
commit
18011c595a
352 changed files with 6040 additions and 6040 deletions
10
35-04.md
10
35-04.md
|
|
@ -81,7 +81,7 @@
|
|||
Y_MAX / 4, 4);
|
||||
|
||||
/* Wait for the enter key to be pressed */
|
||||
scanf(“%c”, &temp);
|
||||
scanf("%c", &temp);
|
||||
|
||||
/* Return back to text mode */
|
||||
_AX = TEXT_MODE;
|
||||
|
|
@ -91,8 +91,8 @@
|
|||
#### Looking at EVGALine {#Heading7}
|
||||
|
||||
The **EVGALine** function itself performs four operations. **EVGALine**
|
||||
first sets up the VGA’s hardware so that all pixels drawn will be in the
|
||||
desired color. This is accomplished by setting two of the VGA’s
|
||||
first sets up the VGA's hardware so that all pixels drawn will be in the
|
||||
desired color. This is accomplished by setting two of the VGA's
|
||||
registers, the Enable Set/Reset register and the Set/Reset register.
|
||||
Setting the Enable Set/Reset to the value 0FH, as is done in
|
||||
**EVGALine**, causes all drawing to produce pixels in the color
|
||||
|
|
@ -105,7 +105,7 @@ Set/Reset and Set/Reset registers in this way causes the remainder of
|
|||
|
||||
**EVGALine** next performs a simple check to cut in half the number of
|
||||
line orientations that must be handled separately. Figure 35.4 shows the
|
||||
eight possible line orientations among which a Bresenham’s algorithm
|
||||
eight possible line orientations among which a Bresenham's algorithm
|
||||
implementation must distinguish. (In interpreting Figure 35.4, assume
|
||||
that lines radiate outward from the center of the figure, falling into
|
||||
one of eight octants delineated by the horizontal and vertical axes and
|
||||
|
|
@ -144,7 +144,7 @@ coordinate changes on every pixel and the X coordinate changes only when
|
|||
the running error dictates, since Y is the major axis.
|
||||
|
||||
\
|
||||
**Figure 35.4** *Bresenham’s eight possible line orientations.*
|
||||
**Figure 35.4** *Bresenham's eight possible line orientations.*
|
||||
|
||||
------------------------ --------------------------------- --------------------
|
||||
[Previous](35-03.html) [Table of Contents](index.html) [Next](35-05.html)
|
||||
|
|
|
|||
Loading…
Reference in a new issue