feat(clusterApp): initial version run in Ubuntu.
change fb to DRM
This commit is contained in:
45
clusterApp/include/lib/InsFont.h
Normal file
45
clusterApp/include/lib/InsFont.h
Normal file
@@ -0,0 +1,45 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user