mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
![]() deprecate the `identifier()` APIs by replacing them with `type()`. ThorVG is going to introduce an instance `id()`, and this could be confused with the `identifier()` methods. with this new type() method can reduce the memory size by removing unncessary type data. New Experimental C APIs: - enum Tvg_Type - Tvg_Result tvg_paint_get_type(const Tvg_Paint* paint, Tvg_Type* type) - Tvg_Result tvg_gradient_get_type(const Tvg_Gradient* grad, Tvg_Type* type) New Experimental C++ APIs: - Type Paint::type() const - Type Fill::type() const - Type LinearGradient::type() const - Type RadialGradient::type() const - Type Shape::type() const - Type Scene::type() const - Type Picture::type() const - Type Text::type() const Deprecated C APIs: - enum Tvg_Identifier - Tvg_Result tvg_paint_get_identifier(const Tvg_Paint* paint, Tvg_Identifier* identifier) - Tvg_Result tvg_gradient_get_identifier(const Tvg_Gradient* grad, Tvg_Identifier* identifier) Deprecated C++ APIs: - enum class Type - uint32_t Paint::identifier() const - uint32_t Fill::identifier() const - static uint32_t Picture::identifier() - static uint32_t Scene::identifier() - static uint32_t Shape::identifier() - static uint32_t LinearGradient:identifier() - static uint32_T RadialGradient::identfier() Removed Experimental APIs: - static uint32_t Text::identifier() issue: https://github.com/thorvg/thorvg/issues/1372 |
||
---|---|---|
.. | ||
capi | ||
regression | ||
resources | ||
catch.hpp | ||
meson.build | ||
testAccessor.cpp | ||
testAnimation.cpp | ||
testFill.cpp | ||
testInitializer.cpp | ||
testLottie.cpp | ||
testMain.cpp | ||
testPaint.cpp | ||
testPicture.cpp | ||
testSavers.cpp | ||
testScene.cpp | ||
testShape.cpp | ||
testSwCanvas.cpp | ||
testSwEngine.cpp | ||
testText.cpp |