home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / OTL-MC6.DMS / in.adf / incl.lha / INCLUDE / clib / diskfont_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-29  |  1020 b   |  41 lines

  1. #ifndef  CLIB_DISKFONT_PROTOS_H
  2. #define  CLIB_DISKFONT_PROTOS_H
  3.  
  4. /*
  5. **    $VER: diskfont_protos.h 38.0 (18.6.92)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  DOS_DOS_H
  15. #include <dos/dos.h>
  16. #endif
  17. #ifndef  DISKFONT_DISKFONT_H
  18. #include <diskfont/diskfont.h>
  19. #endif
  20.  
  21. #ifdef __cplusplus
  22. #define CLIBCPLUSON
  23. #pragma -
  24. #endif
  25.  
  26. struct TextFont *OpenDiskFont( struct TextAttr *textAttr );
  27. LONG AvailFonts( STRPTR buffer, long bufBytes, long flags );
  28. /*--- functions in V34 or higher (Release 1.3) ---*/
  29. struct FontContentsHeader *NewFontContents( BPTR fontsLock, STRPTR fontName );
  30. void DisposeFontContents( struct FontContentsHeader *fontContentsHeader );
  31. /*--- functions in V36 or higher (Release 2.0) ---*/
  32. struct DiskFont *NewScaledDiskFont( struct TextFont *sourceFont,
  33.     struct TextAttr *destTextAttr );
  34.  
  35. #ifdef CLIBCPLUSON
  36. #undef CLIBCPLUSON
  37. #pragma +
  38. #endif
  39.  
  40. #endif     /* CLIB_DISKFONT_PROTOS_H */
  41.