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