| /* |
| * Copyright (C) 2007 Google (Evan Stade) |
| * |
| * This library is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU Lesser General Public |
| * License as published by the Free Software Foundation; either |
| * version 2.1 of the License, or (at your option) any later version. |
| * |
| * This library is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| * Lesser General Public License for more details. |
| * |
| * You should have received a copy of the GNU Lesser General Public |
| * License along with this library; if not, write to the Free Software |
| * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
| */ |
| |
| #ifndef _GDIPLUSTYPES_H |
| #define _GDIPLUSTYPES_H |
| |
| typedef float REAL; |
| |
| enum Status{ |
| Ok = 0, |
| GenericError = 1, |
| InvalidParameter = 2, |
| OutOfMemory = 3, |
| ObjectBusy = 4, |
| InsufficientBuffer = 5, |
| NotImplemented = 6, |
| Win32Error = 7, |
| WrongState = 8, |
| Aborted = 9, |
| FileNotFound = 10, |
| ValueOverflow = 11, |
| AccessDenied = 12, |
| UnknownImageFormat = 13, |
| FontFamilyNotFound = 14, |
| FontStyleNotFound = 15, |
| NotTrueTypeFont = 16, |
| UnsupportedGdiplusVersion = 17, |
| GdiplusNotInitialized = 18, |
| PropertyNotFound = 19, |
| PropertyNotSupported = 20 |
| }; |
| |
| #ifndef __cplusplus |
| |
| typedef enum Status Status; |
| |
| #endif /* end of c typedefs */ |
| |
| #endif |