Change bold code snippets to inline code blocks
This commit is contained in:
parent
f658bfbb40
commit
3c76d884ef
185 changed files with 1772 additions and 1772 deletions
6
42-04.md
6
42-04.md
|
|
@ -81,8 +81,8 @@ void DrawLine(int X0, int Y0, int X1, int Y1, int Color)
|
|||
}
|
||||
```
|
||||
|
||||
Listing 42.1 isn't particularly fast, because it calls **DrawPixel()**
|
||||
for each pixel. On the other hand, **DrawPixel()** makes it easy to try
|
||||
Listing 42.1 isn't particularly fast, because it calls `DrawPixel()`
|
||||
for each pixel. On the other hand, `DrawPixel()` makes it easy to try
|
||||
out Wu antialiasing in a variety of modes; just adapt the code in
|
||||
Listing 42.3 for the 256-color mode you want to support. For example,
|
||||
Listing 42.5 shows code to draw Wu-antialiased lines in 640x480
|
||||
|
|
@ -141,7 +141,7 @@ void SetMode()
|
|||
```
|
||||
|
||||
Listing 42.1 requires that the DAC palette be set up so that a
|
||||
**NumLevel**-long block of palette entries contains linearly decreasing
|
||||
`NumLevel`-long block of palette entries contains linearly decreasing
|
||||
intensities of the drawing color. The size of the block is programmable,
|
||||
but must be a power of two. The more intensity levels, the better. Wu
|
||||
says that 32 intensities are enough; on my system, eight and even four
|
||||
|
|
|
|||
Loading…
Reference in a new issue