1 //========================================================================
2 //
3 // SplashErrorCodes.h
4 //
5 // Copyright 2003-2013 Glyph & Cog, LLC
6 //
7 //========================================================================
8 
9 #ifndef SPLASHERRORCODES_H
10 #define SPLASHERRORCODES_H
11 
12 #include <aconf.h>
13 
14 //------------------------------------------------------------------------
15 
16 #define splashOk                 0	// no error
17 
18 #define splashErrNoCurPt         1	// no current point
19 
20 #define splashErrEmptyPath       2	// zero points in path
21 
22 #define splashErrBogusPath       3	// only one point in subpath
23 
24 #define splashErrNoSave	         4	// state stack is empty
25 
26 #define splashErrOpenFile        5	// couldn't open file
27 
28 #define splashErrNoGlyph         6	// couldn't get the requested glyph
29 
30 #define splashErrModeMismatch    7	// invalid combination of color modes
31 
32 #define splashErrSingularMatrix  8	// matrix is singular
33 
34 #endif
35