resvg_error enum
@brief List of possible errors.
Values
- RESVG_OK → const resvg_error
-
Everything is ok.
const resvg_error(0)
- RESVG_ERROR_NOT_AN_UTF8_STR → const resvg_error
-
Only UTF-8 content are supported.
const resvg_error(1)
- RESVG_ERROR_FILE_OPEN_FAILED → const resvg_error
-
Failed to open the provided file.
const resvg_error(2)
- RESVG_ERROR_MALFORMED_GZIP → const resvg_error
-
Compressed SVG must use the GZip algorithm.
const resvg_error(3)
- RESVG_ERROR_ELEMENTS_LIMIT_REACHED → const resvg_error
-
We do not allow SVG with more than 1_000_000 elements for security reasons.
const resvg_error(4)
- RESVG_ERROR_INVALID_SIZE → const resvg_error
-
SVG doesn't have a valid size.
Occurs when width and/or height are <= 0.
Also occurs if width, height and viewBox are not set.
const resvg_error(5)
- RESVG_ERROR_PARSING_FAILED → const resvg_error
-
Failed to parse an SVG data.
const resvg_error(6)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
int value) → resvg_error
Constants
-
values
→ const List<
resvg_error> - A constant List of the values in this enum, in order of their declaration.