vectfont.c File Reference

#include "common.h"
#include <stdio.h>
#include <math.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

int * tp_cindex [256]
int tp_ctable []

Detailed Description

Terminal Independant Graphics Display Package. Mike Muuss July 31, 1978

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.

Definition in file vectfont.c.


Define Documentation

#define NUM_SYMBOLS   8

Definition at line 55 of file vectfont.c.

Referenced by tp_setup().


Variable Documentation

int* tp_cindex[256]

Definition at line 57 of file vectfont.c.

Referenced by bn_vlist_3string(), tp_3symbol(), and tp_setup().

int tp_ctable[]

Definition at line 87 of file vectfont.c.

Referenced by tp_setup().

Generated on Tue Dec 11 13:14:28 2012 for LIBBN by  doxygen 1.6.3