You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: thirdparty/thorvg/inc/thorvg.h
+6-3
Original file line number
Diff line number
Diff line change
@@ -217,7 +217,10 @@ enum class SceneEffect : uint8_t
217
217
{
218
218
ClearAll = 0, ///< Reset all previously applied scene effects, restoring the scene to its original state.
219
219
GaussianBlur, ///< Apply a blur effect with a Gaussian filter. Param(3) = {sigma(float)[> 0], direction(int)[both: 0 / horizontal: 1 / vertical: 2], border(int)[duplicate: 0 / wrap: 1], quality(int)[0 - 100]}
220
-
DropShadow ///< Apply a drop shadow effect with a Gaussian Blur filter. Param(8) = {color_R(int)[0 - 255], color_G(int)[0 - 255], color_B(int)[0 - 255], opacity(int)[0 - 255], angle(float)[0 - 360], distance(float), blur_sigma(float)[> 0], quality(int)[0 - 100]}
220
+
DropShadow, ///< Apply a drop shadow effect with a Gaussian Blur filter. Param(8) = {color_R(int)[0 - 255], color_G(int)[0 - 255], color_B(int)[0 - 255], opacity(int)[0 - 255], angle(float)[0 - 360], distance(float), blur_sigma(float)[> 0], quality(int)[0 - 100]}
221
+
Fill, ///< Override the scene content color with a given fill information (Experimental API). Param(5) = {color_R(int)[0 - 255], color_G(int)[0 - 255], color_B(int)[0 - 255], opacity(int)[0 - 255]}
222
+
Tint, ///< Tinting the current scene color with a given black, white color paramters (Experimental API). Param(7) = {black_R(int)[0 - 255], black_G(int)[0 - 255], black_B(int)[0 - 255], white_R(int)[0 - 255], white_G(int)[0 - 255], white_B(int)[0 - 255], intensity(float)[0 - 100]}
223
+
Tritone ///< Apply a tritone color effect to the scene using three color parameters for shadows, midtones, and highlights (Experimental API). Param(9) = {Shadow_R(int)[0 - 255], Shadow_G(int)[0 - 255], Shadow_B(int)[0 - 255], Midtone_R(int)[0 - 255], Midtone_G(int)[0 - 255], Midtone_B(int)[0 - 255], Highlight_R(int)[0 - 255], Highlight_G(int)[0 - 255], Highlight_B(int)[0 - 255]}
221
224
};
222
225
223
226
@@ -2110,15 +2113,15 @@ class TVG_API Accessor final
2110
2113
/**
2111
2114
* @brief Set the access function for traversing the Picture scene tree nodes.
2112
2115
*
2113
-
* @param[in] picture The picture node to traverse the internal scene-tree.
2116
+
* @param[in] paint The paint node to traverse the internal scene-tree.
2114
2117
* @param[in] func The callback function calling for every paint nodes of the Picture.
2115
2118
* @param[in] data Data passed to the @p func as its argument.
2116
2119
*
2117
2120
* @note The bitmap based picture might not have the scene-tree.
0 commit comments