WinFont.h 846 B

123456789101112131415161718192021222324
  1. #ifndef __WINFONT_
  2. #define __WINFONT_
  3. void InitWinFonts( );
  4. void ShutdownWinFonts( );
  5. INT32 CreateWinFont( INT32 iHeight, INT32 iWidth, INT32 iEscapement,
  6. INT32 iWeight, BOOLEAN fItalic, BOOLEAN fUnderline, BOOLEAN fStrikeOut, STR16 szFontName, INT32 iCharSet );
  7. void DeleteWinFont( INT32 iFont );
  8. void SetWinFontBackColor( INT32 iFont, COLORVAL *pColor );
  9. void SetWinFontForeColor( INT32 iFont, COLORVAL *pColor );
  10. void PrintWinFont( UINT32 uiDestBuf, INT32 iFont, INT32 x, INT32 y, UINT16 *pFontString, ...);
  11. INT16 WinFontStringPixLength( UINT16 *string, INT32 iFont );
  12. INT16 GetWinFontHeight( UINT16 *string, INT32 iFont );
  13. UINT32 WinFont_mprintf( INT32 iFont, INT32 x, INT32 y, UINT16 *pFontString, ...);
  14. BOOLEAN DoesWinFontExistOnSystem( STR16 pTypeFaceName, INT32 iCharSet );
  15. #endif