Files
Cluster/clusterApp/include/lib/InsFont.h
2026-04-17 18:49:03 +08:00

46 lines
672 B
C

#ifndef INSFONT_H_INCLUDED
#define INSFONT_H_INCLUDED
#include <BaseTypes.h>
Bool InitFtLibs
(
const char *ftFiles[],
Int32 *libIDs,
Int32 num
);
void DeInitFtLibs
(
Int32 *libIDs,
Int32 num
);
Bool GenFontBmps
(
Int32 libID,
Int32 charSize,
Int32 texWidth,
Int32 codeNum,
const UInt32 *ucsCode,
Int32 *texHigh,
UInt08 **pixelBuff,
Flt32 **widthRate,
Flt32 **texcoord,
Bool tight
);
Bool DrawSingleLineTxtBmp
(
Int32 libID,
Int32 charSize,
Int32 *bmpWidth,
Int32 *bmpHigh,
const UInt32 *ucsCode,
UInt08 *bmpPixel,
Bool tight,
Int32 *numDrawn
);
#endif // INSFONT_H_INCLUDED