WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
Symbol.h
1#ifndef _WINC_SYMBOL
2#define _WINC_SYMBOL
3
4#include <WXP/Point.h>
5
6namespace WXP {
7 class Symbol {
8 char name[200][15];
9 int index[200]; /* Index into text font database */
10 float x[5000]; /* Text font database */
11 float y[5000];
12 int num;
13 int symb;
14
15 public:
16 Symbol();
17 Symbol( const char *filename );
18 ~Symbol();
19 int init( const char *filename );
20 int read( const char *file );
21 int setSymb( const char *str );
22 int get( Point &pt );
23
24 static const int END = 0;
25 static const int CONT = 1;
26 static const int LINE = 2;
27 static const int FILL = 3;
28 };
29}
30#endif
This class reads in symbol font data.
Definition: Symbol.h:7
All WXP classes fall under the WXP namespace.
Definition: Angle.h:4
This struct sets a 3D point (x, y, z)
Definition: Point.h:5