mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
apis: promote beta apis to offical ones.
- unique_ptr<Picture> Accessor::set(std::unique_ptr<Picture> picture, std::function<bool(const Paint* paint)> func); - static Accessor::std::unique_ptr<Accessor> gen(); - Result Shape::order(bool strokeFirst); @Issue: https://github.com/thorvg/thorvg/issues/1372
This commit is contained in:
parent
fe14e4f499
commit
4c60415c0c
1 changed files with 3 additions and 6 deletions
|
@ -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).
|
* @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.
|
* @return Result::Success when succeed, Result::FailedAllocation otherwise.
|
||||||
* @BETA_API
|
*
|
||||||
|
* @since 0.10
|
||||||
*/
|
*/
|
||||||
Result order(bool strokeFirst) noexcept;
|
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.
|
* @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
|
class TVG_API Accessor final
|
||||||
{
|
{
|
||||||
|
@ -1618,8 +1619,6 @@ public:
|
||||||
* @return Return the given @p picture instance.
|
* @return Return the given @p picture instance.
|
||||||
*
|
*
|
||||||
* @note The bitmap based picture might not have the scene-tree.
|
* @note The bitmap based picture might not have the scene-tree.
|
||||||
*
|
|
||||||
* @BETA_API
|
|
||||||
*/
|
*/
|
||||||
std::unique_ptr<Picture> set(std::unique_ptr<Picture> picture, std::function<bool(const Paint* paint)> func) noexcept;
|
std::unique_ptr<Picture> set(std::unique_ptr<Picture> picture, std::function<bool(const Paint* paint)> func) noexcept;
|
||||||
|
|
||||||
|
@ -1627,8 +1626,6 @@ public:
|
||||||
* @brief Creates a new Accessor object.
|
* @brief Creates a new Accessor object.
|
||||||
*
|
*
|
||||||
* @return A new Accessor object.
|
* @return A new Accessor object.
|
||||||
*
|
|
||||||
* @BETA_API
|
|
||||||
*/
|
*/
|
||||||
static std::unique_ptr<Accessor> gen() noexcept;
|
static std::unique_ptr<Accessor> gen() noexcept;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue