|
resonance 1.0.1
|


Go to the source code of this file.
Classes | |
| class | AGfxFile |
| Image file reader and writer, one subclass per file format. More... | |
Enumerations | |
| enum | AGfxFileResult { kAGfxFileOk = 0 , kAGfxFileNoMemory = -1 , kAGfxFileOpenFailed = -2 , kAGfxFileUnsupported = -4 , kAGfxFileBadFormat = -6 } |
| Results the AGfxFile members return. More... | |
Functions | |
| int | GrabExt (const char *pszPath) |
| Return the first three characters after the last full stop of a path, packed into a word. | |
| enum AGfxFileResult |
Results the AGfxFile members return.
| int GrabExt | ( | const char * | pszPath | ) |
Return the first three characters after the last full stop of a path, packed into a word.
Each character is converted to upper case through the ctype table, and the first character lands in the low byte. Zero results when the path has no full stop or when a path separator follows it, and a shorter extension leaves the remaining bytes zero.
| pszPath | The path. |