home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / diskfont / glyph.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  898 b   |  57 lines

  1. #ifndef DISKFONT_GLYPH_H
  2. #define DISKFONT_GLYPH_H
  3. /*
  4. ** $VER: glyph.h 9.1 (19.06.92)
  5. ** Includes Release 38.56
  6. **
  7. ** glyph.h -- structures for glyph libraries
  8. **
  9. ** (C) Copyright 1991-1992 Robert R. Burns
  10. ** All Rights Reserved
  11. */
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include <exec/types.h>
  15. #endif
  16.  
  17. #ifndef EXEC_LIBRARIES_H
  18. #include <exec/libraries.h>
  19. #endif
  20.  
  21. #ifndef EXEC_NODES_H
  22. #include <exec/nodes.h>
  23. #endif
  24.  
  25.  
  26. struct GlyphEngine {
  27.  struct Library *gle_Library; 
  28.  char *gle_Name; 
  29.  
  30. };
  31.  
  32. typedef LONG FIXED; 
  33.  
  34. struct GlyphMap {
  35.  UWORD glm_BMModulo; 
  36.  UWORD glm_BMRows; 
  37.  UWORD glm_BlackLeft; 
  38.  UWORD glm_BlackTop; 
  39.  UWORD glm_BlackWidth; 
  40.  UWORD glm_BlackHeight; 
  41.  FIXED glm_XOrigin; 
  42.  FIXED glm_YOrigin; 
  43.  WORD glm_X0; 
  44.  WORD glm_Y0; 
  45.  WORD glm_X1; 
  46.  WORD glm_Y1; 
  47.  FIXED glm_Width; 
  48.  UBYTE *glm_BitMap; 
  49. };
  50.  
  51. struct GlyphWidthEntry {
  52.  struct MinNode gwe_Node; 
  53.  UWORD gwe_Code; 
  54.  FIXED gwe_Width; 
  55. };
  56. #endif 
  57.