Blend2D result code.
Constant | Description |
---|
BL_SUCCESS | Successful result code.
|
BL_ERROR_OUT_OF_MEMORY | Out of memory [ENOMEM].
|
BL_ERROR_INVALID_VALUE | Invalid value/argument [EINVAL].
|
BL_ERROR_INVALID_STATE | Invalid state [EFAULT].
|
BL_ERROR_INVALID_HANDLE | Invalid handle or file. [EBADF].
|
BL_ERROR_INVALID_CONVERSION | Invalid conversion.
|
BL_ERROR_OVERFLOW | Overflow or value too large [EOVERFLOW].
|
BL_ERROR_NOT_INITIALIZED | Object not initialized.
|
BL_ERROR_NOT_IMPLEMENTED | Not implemented [ENOSYS].
|
BL_ERROR_NOT_PERMITTED | Operation not permitted [EPERM].
|
BL_ERROR_IO | IO error [EIO].
|
BL_ERROR_BUSY | Device or resource busy [EBUSY].
|
BL_ERROR_INTERRUPTED | Operation interrupted [EINTR].
|
BL_ERROR_TRY_AGAIN | Try again [EAGAIN].
|
BL_ERROR_TIMED_OUT | Timed out [ETIMEDOUT].
|
BL_ERROR_BROKEN_PIPE | Broken pipe [EPIPE].
|
BL_ERROR_INVALID_SEEK | File is not seekable [ESPIPE].
|
BL_ERROR_SYMLINK_LOOP | Too many levels of symlinks [ELOOP].
|
BL_ERROR_FILE_TOO_LARGE | File is too large [EFBIG].
|
BL_ERROR_ALREADY_EXISTS | File/directory already exists [EEXIST].
|
BL_ERROR_ACCESS_DENIED | Access denied [EACCES].
|
BL_ERROR_MEDIA_CHANGED | Media changed [Windows::ERROR_MEDIA_CHANGED].
|
BL_ERROR_READ_ONLY_FS | The file/FS is read-only [EROFS].
|
BL_ERROR_NO_DEVICE | Device doesn't exist [ENXIO].
|
BL_ERROR_NO_ENTRY | Not found, no entry (fs) [ENOENT].
|
BL_ERROR_NO_MEDIA | No media in drive/device [ENOMEDIUM].
|
BL_ERROR_NO_MORE_DATA | No more data / end of file [ENODATA].
|
BL_ERROR_NO_MORE_FILES | No more files [ENMFILE].
|
BL_ERROR_NO_SPACE_LEFT | No space left on device [ENOSPC].
|
BL_ERROR_NOT_EMPTY | Directory is not empty [ENOTEMPTY].
|
BL_ERROR_NOT_FILE | Not a file [EISDIR].
|
BL_ERROR_NOT_DIRECTORY | Not a directory [ENOTDIR].
|
BL_ERROR_NOT_SAME_DEVICE | Not same device [EXDEV].
|
BL_ERROR_NOT_BLOCK_DEVICE | Not a block device [ENOTBLK].
|
BL_ERROR_INVALID_FILE_NAME | File/path name is invalid [n/a].
|
BL_ERROR_FILE_NAME_TOO_LONG | File/path name is too long [ENAMETOOLONG].
|
BL_ERROR_TOO_MANY_OPEN_FILES | Too many open files [EMFILE].
|
BL_ERROR_TOO_MANY_OPEN_FILES_BY_OS | Too many open files by OS [ENFILE].
|
BL_ERROR_TOO_MANY_LINKS | Too many symbolic links on FS [EMLINK].
|
BL_ERROR_TOO_MANY_THREADS | Too many threads [EAGAIN].
|
BL_ERROR_THREAD_POOL_EXHAUSTED | Thread pool is exhausted and couldn't acquire the requested thread count.
|
BL_ERROR_FILE_EMPTY | File is empty (not specific to any OS error).
|
BL_ERROR_OPEN_FAILED | File open failed [Windows::ERROR_OPEN_FAILED].
|
BL_ERROR_NOT_ROOT_DEVICE | Not a root device/directory [Windows::ERROR_DIR_NOT_ROOT].
|
BL_ERROR_UNKNOWN_SYSTEM_ERROR | Unknown system error that failed to translate to Blend2D result code.
|
BL_ERROR_INVALID_ALIGNMENT | Invalid data alignment.
|
BL_ERROR_INVALID_SIGNATURE | Invalid data signature or header.
|
BL_ERROR_INVALID_DATA | Invalid or corrupted data.
|
BL_ERROR_INVALID_STRING | Invalid string (invalid data of either UTF8, UTF16, or UTF32).
|
BL_ERROR_INVALID_KEY | Invalid key or property.
|
BL_ERROR_DATA_TRUNCATED | Truncated data (more data required than memory/stream provides).
|
BL_ERROR_DATA_TOO_LARGE | Input data too large to be processed.
|
BL_ERROR_DECOMPRESSION_FAILED | Decompression failed due to invalid data (RLE, Huffman, etc).
|
BL_ERROR_INVALID_GEOMETRY | Invalid geometry (invalid path data or shape).
|
BL_ERROR_NO_MATCHING_VERTEX | Returned when there is no matching vertex in path data.
|
BL_ERROR_INVALID_CREATE_FLAGS | Invalid create flags (BLContext).
|
BL_ERROR_NO_MATCHING_COOKIE | No matching cookie (BLContext).
|
BL_ERROR_NO_STATES_TO_RESTORE | No states to restore (BLContext).
|
BL_ERROR_TOO_MANY_SAVED_STATES | Cannot save state as the number of saved states reached the limit (BLContext).
|
BL_ERROR_IMAGE_TOO_LARGE | The size of the image is too large.
|
BL_ERROR_IMAGE_NO_MATCHING_CODEC | Image codec for a required format doesn't exist.
|
BL_ERROR_IMAGE_UNKNOWN_FILE_FORMAT | Unknown or invalid file format that cannot be read.
|
BL_ERROR_IMAGE_DECODER_NOT_PROVIDED | Image codec doesn't support reading the file format.
|
BL_ERROR_IMAGE_ENCODER_NOT_PROVIDED | Image codec doesn't support writing the file format.
|
BL_ERROR_PNG_MULTIPLE_IHDR | Multiple IHDR chunks are not allowed (PNG).
|
BL_ERROR_PNG_INVALID_IDAT | Invalid IDAT chunk (PNG).
|
BL_ERROR_PNG_INVALID_IEND | Invalid IEND chunk (PNG).
|
BL_ERROR_PNG_INVALID_PLTE | Invalid PLTE chunk (PNG).
|
BL_ERROR_PNG_INVALID_TRNS | Invalid tRNS chunk (PNG).
|
BL_ERROR_PNG_INVALID_FILTER | Invalid filter type (PNG).
|
BL_ERROR_JPEG_UNSUPPORTED_FEATURE | Unsupported feature (JPEG).
|
BL_ERROR_JPEG_INVALID_SOS | Invalid SOS marker or header (JPEG).
|
BL_ERROR_JPEG_INVALID_SOF | Invalid SOF marker (JPEG).
|
BL_ERROR_JPEG_MULTIPLE_SOF | Multiple SOF markers (JPEG).
|
BL_ERROR_JPEG_UNSUPPORTED_SOF | Unsupported SOF marker (JPEG).
|
BL_ERROR_FONT_NOT_INITIALIZED | Font doesn't have any data as it's not initialized.
|
BL_ERROR_FONT_NO_MATCH | Font or font face was not matched (BLFontManager).
|
BL_ERROR_FONT_NO_CHARACTER_MAPPING | Font has no character to glyph mapping data.
|
BL_ERROR_FONT_MISSING_IMPORTANT_TABLE | Font has missing an important table.
|
BL_ERROR_FONT_FEATURE_NOT_AVAILABLE | Font feature is not available.
|
BL_ERROR_FONT_CFF_INVALID_DATA | Font has an invalid CFF data.
|
BL_ERROR_FONT_PROGRAM_TERMINATED | Font program terminated because the execution reached the limit.
|
BL_ERROR_GLYPH_SUBSTITUTION_TOO_LARGE | Glyph substitution requires too much space and was terminated.
|
BL_ERROR_INVALID_GLYPH | Invalid glyph identifier.
|