diff options
author | Martin Capitanio <capnm@capitanio.org> | 2023-08-08 22:22:11 +0200 |
---|---|---|
committer | Martin Capitanio <capnm@capitanio.org> | 2023-08-09 17:15:59 +0200 |
commit | ac9e259d3ed9df6a096d7383299bf544cb4d8ee4 (patch) | |
tree | f8f127b38976f1a765ebc80827c42eede825db21 /thirdparty/thorvg/src/lib/tvgCommon.h | |
parent | 11ea4dc46647693eb41179b641b3c4f261b4fef4 (diff) | |
download | redot-engine-ac9e259d3ed9df6a096d7383299bf544cb4d8ee4.tar.gz |
Update ThorVG to v0.10.0
- Release Notes: https://github.com/thorvg/thorvg/releases/tag/v0.10.0
- API change ARGB8888_STRAIGHT -> ARGB8888S
- SVG-SCsub: Enable static ThorVG object linking
- SVG-SCsub: avoid building unused ThorVG parts
- update-thorvg.sh: add v0.10.0 and copy only the Godot relevant code
Diffstat (limited to 'thirdparty/thorvg/src/lib/tvgCommon.h')
-rw-r--r-- | thirdparty/thorvg/src/lib/tvgCommon.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/thirdparty/thorvg/src/lib/tvgCommon.h b/thirdparty/thorvg/src/lib/tvgCommon.h index 1731647c00..23011ffed5 100644 --- a/thirdparty/thorvg/src/lib/tvgCommon.h +++ b/thirdparty/thorvg/src/lib/tvgCommon.h @@ -62,7 +62,9 @@ using namespace tvg; #define TVG_CLASS_ID_LINEAR 4 #define TVG_CLASS_ID_RADIAL 5 -enum class FileType { Tvg = 0, Svg, Raw, Png, Jpg, Unknown }; +enum class FileType { Tvg = 0, Svg, Lottie, Raw, Png, Jpg, Webp, Unknown }; + +using Size = Point; #ifdef THORVG_LOG_ENABLED constexpr auto ErrorColor = "\033[31m"; //red |