home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / DevCon / Milan_1991 / Devcon91.2 / Bullet / libraries / oterrors.h < prev   
Encoding:
C/C++ Source or Header  |  1992-09-01  |  1.1 KB  |  29 lines

  1. #ifndef  LIBRARIES_OTERRORS_H
  2. #define  LIBRARIES_OTERRORS_H
  3. /*
  4. **    $Id: oterrors.h,v 8.0 91/03/24 12:17:33 kodiak Exp $
  5. **
  6. **    libraries/oterrors.h -- error results from outline libraries
  7. **
  8. **    (C) Copyright 1991 Robert R. Burns
  9. **        All Rights Reserved
  10. */
  11.  
  12. /* PRELIMINARY */
  13. #define  OTERR_Failure        -1    /* catch-all for error */
  14. #define  OTERR_Success        0    /* no error */
  15. #define  OTERR_BadTag        1    /* inappropriate tag for function */
  16. #define  OTERR_UnknownTag    2    /* unknown tag for function */
  17. #define  OTERR_BadData        3    /* catch-all for bad tag data */
  18. #define  OTERR_NoMemory        4    /* insufficient memory for operation */
  19. #define  OTERR_NoFace        5    /* no typeface currently specified */
  20. #define  OTERR_BadFace        6    /* typeface specification problem */
  21. #define  OTERR_NoGlyph        7    /* no glyph specified */
  22. #define  OTERR_BadGlyph        8    /* bad glyph code or glyph range */
  23. #define  OTERR_NoShear        9    /* shear only partially specified */
  24. #define  OTERR_NoRotate        10    /* rotate only partially specified */
  25. #define  OTERR_TooSmall        11    /* typeface metrics yield tiny glyphs */
  26. #define  OTERR_UnknownGlyph    12    /* glyph not known by engine */
  27.  
  28. #endif   /* LIBRARIES_OTERRORS_H */
  29.