Remove colour attributes from body and strip most of the font tags out

This commit is contained in:
James Gregory 2013-12-30 13:57:02 +11:00
commit c1f88ddb41
362 changed files with 1632 additions and 1706 deletions

View file

@ -24,7 +24,7 @@
<!--CHAPTER=37//-->
<!--PAGES=695-704//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//--></HEAD><BODY LINK=#0000FF ALINK=#000099 VLINK=#0000FF BGCOLOR=#FFFFFF>
<!--UNASSIGNED2//--></HEAD><body>
<CENTER>
<TABLE BORDER>
@ -36,9 +36,8 @@
</TABLE>
</CENTER>
<P><BR></P>
<H2><A NAME="Heading1"></A><FONT COLOR="#000077">Chapter 37<BR>Dead Cats and Lightning Lines
</FONT></H2>
<H3><A NAME="Heading2"></A><FONT COLOR="#000077">Optimizing Run-Length Slice Line Drawing in a Major Way</FONT></H3>
<H2><A NAME="Heading1"></A>Chapter 37<BR>Dead Cats and Lightning Lines</H2>
<H3><A NAME="Heading2"></A>Optimizing Run-Length Slice Line Drawing in a Major Way</H3>
<P>As I write this, the wife, the kid, and I are in the throes of yet another lightning-quick transcontinental move, this time to Redmond, Washington, to work for You Know Who. Moving is never fun, but what makes it worse for us is the pets. Getting them into kennels and to the airport is hard; there&rsquo;s always the possibility that they might not be allowed to fly because of the weather; and, worst of all, they might not make it. Animals don&rsquo;t usually end up injured or dead, but it does happen.
</P>
<P>In a (not notably successful) effort to cheer me up about the prospect of shipping my animals, a friend told me the following story, which he swears actually happened to a friend of his. I don&rsquo;t know&mdash;to me, it has the ring of an urban legend, which is to say it makes a good story, but you can never track down the person it really happened to; it&rsquo;s always a friend of a friend. But maybe it is true, and anyway, it&rsquo;s a good story.</P>
@ -46,7 +45,7 @@
<P>FOF knew how upset the owner would be, and came up with a plan to make everything better. At home, he had a cat of the same size, shape, and markings. He would substitute that cat, and since all cats treat all humans with equal disdain, the owner would never know the difference, and would never suffer the trauma of the loss of her cat. So FOF drove home, got his cat, put it in the kennel, and waited for the owner to show up&mdash;at which point, she took one look at the kennel and said, &ldquo;This isn&rsquo;t my cat. My cat is dead.&rdquo;</P>
<P>As it turned out, she had shipped her recently deceased feline home to be buried. History does not record how our FOF dug himself out of this one.</P>
<P>Okay, but what&rsquo;s the point? The point is, if it isn&rsquo;t broken, don&rsquo;t fix it. And if it is broken, maybe that&rsquo;s all right, too. Which brings us, neat as a pin, to the topic of drawing lines in a serious hurry.</P>
<H3><A NAME="Heading3"></A><FONT COLOR="#000077">Fast Run-Length Slice Line Drawing</FONT></H3>
<H3><A NAME="Heading3"></A>Fast Run-Length Slice Line Drawing</H3>
<P>In the last chapter, we examined the principles of run-length slice line drawing, which draws lines a run at a time rather than a pixel at a time, a run being a series of pixels along the major (longer) axis. It&rsquo;s time to turn theory into useful practice by developing a fast assembly version. Listing 37.1 is the assembly version, in a form that&rsquo;s plug-compatible with the C code from the previous chapter.
</P>
<P><B>LISTING 37.1 L37-1.ASM</B></P>
@ -415,7 +414,7 @@ _LineDraw endp
<hr width="90%" size="1" noshade>
<div align="center">
<font face="Verdana,sans-serif" size="1">Graphics Programming Black Book &copy; 2001 Michael Abrash</font>
Graphics Programming Black Book &copy; 2001 Michael Abrash
</div>
<!-- all of the reference materials (books) have the footer and subfoot reveresed -->
<!-- reference_subfoot = footer -->