From 4c60415c0cab8bfbf55b2a345a7d620437c77be4 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Wed, 17 May 2023 11:52:42 +0900 Subject: [PATCH] apis: promote beta apis to offical ones. - unique_ptr Accessor::set(std::unique_ptr picture, std::function func); - static Accessor::std::unique_ptr gen(); - Result Shape::order(bool strokeFirst); @Issue: https://github.com/thorvg/thorvg/issues/1372 --- inc/thorvg.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/inc/thorvg.h b/inc/thorvg.h index fae48633..f6e8ec76 100644 --- a/inc/thorvg.h +++ b/inc/thorvg.h @@ -990,7 +990,8 @@ public: * @param[in] strokeFirst If @c true the stroke is rendered before the fill, otherwise the stroke is rendered as the second one (the default option). * * @return Result::Success when succeed, Result::FailedAllocation otherwise. - * @BETA_API + * + * @since 0.10 */ Result order(bool strokeFirst) noexcept; @@ -1602,7 +1603,7 @@ public: * * @warning We strongly warn you not to change the paints of a scene unless you really know the design-structure. * - * @BETA_API + * @since 0.10 */ class TVG_API Accessor final { @@ -1618,8 +1619,6 @@ public: * @return Return the given @p picture instance. * * @note The bitmap based picture might not have the scene-tree. - * - * @BETA_API */ std::unique_ptr set(std::unique_ptr picture, std::function func) noexcept; @@ -1627,8 +1626,6 @@ public: * @brief Creates a new Accessor object. * * @return A new Accessor object. - * - * @BETA_API */ static std::unique_ptr gen() noexcept;