beta-0.89.2
[luatex.git] / source / libs / poppler / poppler-src / splash / SplashErrorCodes.h
blobd1f81f85dd878c4a4c945e8a87b52d379091eff6
1 //========================================================================
2 //
3 // SplashErrorCodes.h
4 //
5 //========================================================================
7 //========================================================================
8 //
9 // Modified under the Poppler project - http://poppler.freedesktop.org
11 // All changes made under the Poppler project to this file are licensed
12 // under GPL version 2 or later
14 // Copyright (C) 2006, 2009 Albert Astals Cid <aacid@kde.org>
16 // To see a description of the changes please see the Changelog file that
17 // came with your tarball or type make ChangeLog if you are building from git
19 //========================================================================
21 #ifndef SPLASHERRORCODES_H
22 #define SPLASHERRORCODES_H
24 //------------------------------------------------------------------------
26 #define splashOk 0 // no error
28 #define splashErrNoCurPt 1 // no current point
30 #define splashErrEmptyPath 2 // zero points in path
32 #define splashErrBogusPath 3 // only one point in subpath
34 #define splashErrNoSave 4 // state stack is empty
36 #define splashErrOpenFile 5 // couldn't open file
38 #define splashErrNoGlyph 6 // couldn't get the requested glyph
40 #define splashErrModeMismatch 7 // invalid combination of color modes
42 #define splashErrSingularMatrix 8 // matrix is singular
44 #define splashErrBadArg 9 // bad argument
46 #define splashErrZeroImage 254 // image of 0x0
48 #define splashErrGeneric 255
50 #endif