1 //========================================================================
5 //========================================================================
7 #ifndef SPLASHERRORCODES_H
8 #define SPLASHERRORCODES_H
10 //------------------------------------------------------------------------
12 #define splashOk 0 // no error
14 #define splashErrNoCurPt 1 // no current point
16 #define splashErrEmptyPath 2 // zero points in path
18 #define splashErrBogusPath 3 // only one point in subpath
20 #define splashErrNoSave 4 // state stack is empty
22 #define splashErrOpenFile 5 // couldn't open file
24 #define splashErrNoGlyph 6 // couldn't get the requested glyph
26 #define splashErrModeMismatch 7 // invalid combination of color modes
28 #define splashErrSingularMatrix 8 // matrix is singular
30 #define splashErrZeroImage 9 // image of 0x0