summaryrefslogtreecommitdiff
path: root/thirdparty/thorvg/inc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-08 16:17:22 +0100
committerGitHub <noreply@github.com>2022-03-08 16:17:22 +0100
commitfe95b61e529e366ffe317c5bf27ac5f5d10852e8 (patch)
tree16c5d4b612fe71daa6df348346d5de92fdd5f54a /thirdparty/thorvg/inc
parent6046d3babb67117a2d4ad51ccd3f4c6765b2ee9a (diff)
parentf7a809603c4f14b2e05e78385d6f9cdbdfde5072 (diff)
Merge pull request #58899 from V-Sekai/thorvg-0-8-0
Diffstat (limited to 'thirdparty/thorvg/inc')
-rw-r--r--thirdparty/thorvg/inc/config.h2
-rw-r--r--thirdparty/thorvg/inc/thorvg.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/thirdparty/thorvg/inc/config.h b/thirdparty/thorvg/inc/config.h
index 41e8f6dafa..d72574bc65 100644
--- a/thirdparty/thorvg/inc/config.h
+++ b/thirdparty/thorvg/inc/config.h
@@ -13,5 +13,5 @@
#define THORVG_JPG_LOADER_SUPPORT 1
-#define THORVG_VERSION_STRING "0.7.1"
+#define THORVG_VERSION_STRING "0.8.0"
#endif
diff --git a/thirdparty/thorvg/inc/thorvg.h b/thirdparty/thorvg/inc/thorvg.h
index e542d36555..b08356d9d5 100644
--- a/thirdparty/thorvg/inc/thorvg.h
+++ b/thirdparty/thorvg/inc/thorvg.h
@@ -145,8 +145,9 @@ enum class TVG_EXPORT CompositeMethod
{
None = 0, ///< No composition is applied.
ClipPath, ///< The intersection of the source and the target is determined and only the resulting pixels from the source are rendered.
- AlphaMask, ///< The pixels of the source and the target are alpha blended. As a result, only the part of the source, which intersects with the target is visible.
- InvAlphaMask ///< The pixels of the source and the complement to the target's pixels are alpha blended. As a result, only the part of the source which is not covered by the target is visible.
+ AlphaMask, ///< The pixels of the source and the target are alpha blended. As a result, only the part of the source, which alpha intersects with the target is visible.
+ InvAlphaMask, ///< The pixels of the source and the complement to the target's pixels are alpha blended. As a result, only the part of the source which alpha is not covered by the target is visible.
+ LumaMask ///< @BETA_API The source pixels are converted to the grayscale (luma value) and alpha blended with the target. As a result, only the part of the source, which intersects with the target is visible.
};
/**