From 1d9ea58be33067592899a98b9e8ba55a7b3cbd5e Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Wed, 27 Dec 2023 10:48:24 +0900 Subject: [PATCH] api: promote to official APIs. New API: - CanvasEngine::All - SwCanvas::Colorspace::ABGR8888S - SwCanvas::ColorSpace::ARGB8888S --- inc/thorvg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/thorvg.h b/inc/thorvg.h index 568c7fca..5f2df08b 100644 --- a/inc/thorvg.h +++ b/inc/thorvg.h @@ -198,7 +198,7 @@ enum class BlendMethod : uint8_t */ enum class CanvasEngine : uint8_t { - All = 0, ///< All feasible rasterizers. + All = 0, ///< All feasible rasterizers. @since 1.0 Sw = (1 << 1), ///< CPU rasterizer. Gl = (1 << 2), ///< OpenGL rasterizer. Wg = (1 << 3), ///< WebGPU rasterizer. (Experimental API) @@ -1564,8 +1564,8 @@ public: { ABGR8888 = 0, ///< The channels are joined in the order: alpha, blue, green, red. Colors are alpha-premultiplied. (a << 24 | b << 16 | g << 8 | r) ARGB8888, ///< The channels are joined in the order: alpha, red, green, blue. Colors are alpha-premultiplied. (a << 24 | r << 16 | g << 8 | b) - ABGR8888S, ///< The channels are joined in the order: alpha, blue, green, red. Colors are un-alpha-premultiplied. (Experimental API) - ARGB8888S, ///< The channels are joined in the order: alpha, red, green, blue. Colors are un-alpha-premultiplied. (Experimental API) + ABGR8888S, ///< The channels are joined in the order: alpha, blue, green, red. Colors are un-alpha-premultiplied. @since 0.12 + ARGB8888S, ///< The channels are joined in the order: alpha, red, green, blue. Colors are un-alpha-premultiplied. @since 0.12 }; /**