home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 18
/
aminetcdnumber181997.iso
/
Aminet
/
misc
/
emu
/
gbuk.lha
/
src
/
FONT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-10-21
|
528b
|
27 lines
#ifndef FONT_H
#define FONT_H
#include "gfxfunc.h"
typedef struct{
GXOBLONG Oblong;
long XOffset,YOffset;
long XSpace;
long Control;
}TXCUTDATA;
typedef struct{
long Width;
long Height;
long Italic,Proportional,Bold,Underlined,BaseLine;
GXIMAGE *Image;
long NCut;
TXCUTDATA *Cut;
}TXFONT;
TXFONT *TXLoadFont(GXPICTURE *pic, char *cutname, GXPALETTE *FrontColor);
void TXPrintString(char *s, int x, int y, GXIMAGE *i, TXFONT *f);
int TXFONTHeight(TXFONT *f);
int TXStringWidth(char *s, TXFONT *f);
#endif