#include "common.h"
#include <stdio.h>
#include <math.h>
#include "machine.h"
#include "vmath.h"
#include "plot3.h"
#include "vectfont.h"
Include dependency graph for vectfont.c:
Go to the source code of this file.
Defines | |
#define | NUM_SYMBOLS 8 |
Functions | |
void | tp_setup (void) |
Once-only setup routine Used by libplot3/symbol.c, so it can't be static. | |
Variables | |
TINY * | tp_cindex [256] |
index to stroke tokens | |
TINY | tp_ctable [] |
table of strokes |
This routine is used to plot a string of ASCII symbols on the plot being generated, using a built-in set of fonts drawn as vector lists.
Internally, the basic font resides in a 10x10 unit square. Externally, each character can be thought to occupy one square plotting unit; the 'scale' parameter allows this to be changed as desired, although scale factors less than 10.0 are unlikely to be legible.
The vector font table here was provided courtesy of Dr. Bruce Henriksen and Dr. Stephen Wolff, US Army Ballistic Research Laboratory, Summer of 1978. They had developed it for their remote Houston Instruments pen plotter package for the GE Tymeshare system.
Author - Bruce Henriksen Stephen Wolff Michael John Muuss
Source - The U. S. Army Research Laboratory Aberdeen Proving Ground, Maryland 21005-5068 USA
Definition in file vectfont.c.
|
Definition at line 73 of file vectfont.c. Referenced by tp_setup(). |
|
Once-only setup routine Used by libplot3/symbol.c, so it can't be static.
Definition at line 83 of file vectfont.c. References LAST, NUM_SYMBOLS, TINY, tp_cindex, and tp_ctable. Referenced by bn_vlist_3string(), and tp_3symbol(). |