thorvg/test/capi
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
..
capiAnimation.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiFill.cpp updated copyright date (#1866) 2023-12-28 10:43:25 +09:00
capiInitializer.cpp updated copyright date (#1866) 2023-12-28 10:43:25 +09:00
capiLinearGradient.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiLottie.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiMain.cpp tests capi: revise the show-case & infrastructure. 2021-06-12 02:11:01 +09:00
capiPaint.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiPicture.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiRadialGradient.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiSavers.cpp test/capi: --compiler warning on MSVC 2024-06-27 14:43:53 +09:00
capiScene.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiShape.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
capiSwCanvas.cpp renderer/canvas: ++exceptional handling. 2024-06-24 01:29:57 +09:00
capiText.cpp API: revise the APIs. 2024-07-05 21:25:58 +09:00
meson.build test: capi tests updated by text apis 2024-06-18 10:50:53 +09:00