BRL-CAD
vectfont.h
Go to the documentation of this file.
1 /* V E C T F O N T . H
2  * BRL-CAD
3  *
4  * Copyright (c) 2004-2014 United States Government as represented by
5  * the U.S. Army Research Laboratory.
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public License
9  * version 2.1 as published by the Free Software Foundation.
10  *
11  * This library is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this file; see the file named COPYING for more
18  * information.
19  */
20 
21 /*----------------------------------------------------------------------*/
22 /* @file vectfont.h */
23 /** @addtogroup plot */
24 /** @{ */
25 
26 /**
27  *
28  * Terminal Independent Graphics Display Package.
29  * Mike Muuss July 31, 1978
30  *
31  * This routine is used to plot a string of ASCII symbols
32  * on the plot being generated, using a built-in set of fonts
33  * drawn as vector lists.
34  *
35  * Internally, the basic font resides in a 10x10 unit square.
36  * Externally, each character can be thought to occupy one square
37  * plotting unit; the 'scale'
38  * parameter allows this to be changed as desired, although scale
39  * factors less than 10.0 are unlikely to be legible.
40  *
41  * The vector font table here was provided courtesy of Dr. Bruce
42  * Henrikson and Dr. Stephen Wolff, US Army Ballistic Research
43  * Laboratory, Summer of 1978. They had developed it for their
44  * remote Houston Instruments pen plotter package for the
45  * GE Tymeshare system.
46  *
47  */
48 
49 #ifndef BN_VECTFONT_H
50 #define BN_VECTFONT_H
51 
52 #include "common.h"
53 #include "bn/defines.h"
54 
56 
57 /**
58  * @brief
59  * Once-only setup routine
60  * Used by libplot3/symbol.c, so it can't be static.
61  * DEPRECATED: libplot3 has been merged into libbn, so this no longer needs to be public.
62  */
63 BN_EXPORT extern void tp_setup(void);
64 
66 
67 #endif /* BN_VECTFONT_H */
68 /** @} */
69 /*
70  * Local Variables:
71  * mode: C
72  * tab-width: 8
73  * indent-tabs-mode: t
74  * c-file-style: "stroustrup"
75  * End:
76  * ex: shiftwidth=4 tabstop=8
77  */
Header file for the BRL-CAD common definitions.
#define __BEGIN_DECLS
Definition: common.h:73
void tp_setup(void)
Once-only setup routine Used by libplot3/symbol.c, so it can't be static. DEPRECATED: libplot3 has be...
Definition: vectfont.c:1083
#define __END_DECLS
Definition: common.h:74