Bitmapped Characters

Bitmapped characters combine the properties of stock fonts and software characters. They are a fixed size but are almost always more visually appealing than software characters. Because they are not scaleable, they do not require floating point arithmetic, and therefore they are much faster than software characters. Bitmapped characters are always drawn in virtual buffers, not directly to the client area.

By far, the easiest way to add bitmapped characters to Fastgraph programs is with the Fastgraph/Fonts add-on product. Alternatively, you can treat a bitmapped character as any other bitmap and display it with Fastgraph's bitmap display functions. For example, to use a five-pixel by five-pixel bitmapped font, you could construct character glyphs as shown here and then store the resulting bitmaps in an array.

    *       * * * *       * * * * 
  *   *     *       *   *         
* * * * *   * * * *     *         
*       *   *       *   *         
*       *   * * * *       * * * * 

<< Prev

Next >>

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.