thorvg/test
Hermet Park 889d1d1fa2 API: revise the APIs.
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
2024-07-05 21:25:58 +09:00
..
capi API: revise the APIs. 2024-07-05 21:25:58 +09:00
regression common: fix 178+ spelling errors 2024-07-01 21:58:46 +09:00
resources tests: ++coverage 2024-06-26 22:06:19 +09:00
catch.hpp test: upgrade catch2 2023-01-30 13:28:44 +09:00
meson.build test: clean up test suites 2024-05-18 18:10:50 +09:00
testAccessor.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
testAnimation.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
testFill.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
testInitializer.cpp test: corrected wrong test-suite. 2024-06-21 16:28:20 +09:00
testLottie.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
testMain.cpp tests: introduce catch2 unit tests infrastructure. 2021-06-04 16:46:34 +09:00
testPaint.cpp updated copyright date (#1866) 2023-12-28 10:43:25 +09:00
testPicture.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
testSavers.cpp tests: add missing capi saver tests & ifdefs 2024-06-20 00:03:07 +09:00
testScene.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
testShape.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
testSwCanvas.cpp common: fix 178+ spelling errors 2024-07-01 21:58:46 +09:00
testSwEngine.cpp tests: ++coverage 2024-06-26 22:06:19 +09:00
testText.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00