WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
GFont.h
1#ifndef _WINC_GFONT
2#define _WINC_GFONT
3
4#include <WXP/Point.h>
5
6namespace WXP {
7 class GFont {
8 char name[100];
9 int type; /* The font type */
10 int x[7500]; /* Text font database */
11 int y[7500];
12 int width[256]; /* Text font character width */
13 int index[256]; /* Index into text font database */
14 int height;
15 int ch;
16 bool opened;
17
18 public:
19 GFont();
20 GFont( const char *filename );
21 int init();
22 int destroy();
23 int read( const char *filename );
24 int getWidth( char ch );
25 int setChar( char ch );
26 int get( Point &pt );
27 int getInd( const char *str );
28 int print();
29 };
30}
31#endif
This class stores WXP font information.
Definition GFont.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