thorvg/examples
Hermet Park d3edc0c5f7 api: clean up
promoted offical c++ apis (v0.15)
 - enum class BlendMethod
 - enum class CanvasEngine::Wg
 - virtual Result Canvas::viewport(int32_t x, int32_t y, int32_t w, int32_t h);
 - class Text
 - Result Text::fill(uint8_t r, uint8_t g, uint8_t b)
 - Result Text::fill(std::unique_ptr<Fill> f)
 - static Result Text::unload(const std::string& path)
 - static Result Text::load(const std::string& path)
 - static Result Text::load(const char* name, const char* data, uint32_t size, const std::string& mimeType = "ttf", bool copy = false)
 - static std::unique_ptr<Text> Text::gen()
 - class WgCanvas
 - static std::unique_ptr<WgCanvas> WgCanvas::gen()
 - static const char* Initializer::version(uint32_t* major, uint32_t* minor, uint32_t* micro)
 - class LottieAnimation

promoted official c apis (v0.15)
 - Tvg_Blend_Method
 - Tvg_Result tvg_engine_version(uint32_t* major, uint32_t* minor, uint32_t* micro, const char** version)
 - Tvg_Result tvg_canvas_set_viewport(Tvg_Canvas* canvas, int32_t x, int32_t y, int32_t w, int32_t h)
 - Tvg_Result tvg_paint_set_blend_method(Tvg_Paint* paint, Tvg_Blend_Method method)
 - Tvg_Paint* tvg_text_new(void)
 - Tvg_Result tvg_text_set_fill_color(Tvg_Paint* paint, uint8_t r, uint8_t g, uint8_t b)
 - Tvg_Result tvg_text_set_gradient(Tvg_Paint* paint, Tvg_Gradient* gradient)
 - Tvg_Result tvg_font_load(const char* path)
 - Tvg_Result tvg_font_load_data(const char* name, const char* data, uint32_t size, const char *mimetype, bool copy)
 - Tvg_Result tvg_font_unload(const char* path)
 - Tvg_Animation* tvg_lottie_animation_new(void)

removed experimental apis
 - BlendMethod paint::blend() const
 - bool Shape::strokeTrim(float* begin, float* end) const
 - Tvg_Result tvg_paint_get_blend_method(const Tvg_Paint* paint, Tvg_Blend_Method* method)
 - Tvg_Result tvg_shape_get_stroke_trim(Tvg_Paint* paint, float* begin, float* end, bool* simultaneous)
 - tvg_text_set_linear_gradient(Paint* paint, Tvg_Gradient* gradient)
 - tvg_text_set_radial_gradient(Paint* paint, Tvg_Gradient* gradient)

issue: https://github.com/thorvg/thorvg/issues/1372
2024-09-30 16:44:22 +09:00
..
resources examples: updated a lottie sample 2024-09-30 16:44:22 +09:00
Accessor.cpp renderer/accessor: revise set() api for animation support 2024-09-30 15:48:18 +09:00
all.sh infra: move the examples folder outside of the source directory. 2024-04-06 12:48:27 +09:00
AnimateMasking.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Animation.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Blending.cpp renderer: blending refactoring++ 2024-09-30 16:44:22 +09:00
Capi.cpp api: clean up 2024-09-30 16:44:22 +09:00
Clipping.cpp examples: replaced ClipPath with clip() 2024-09-30 16:44:22 +09:00
CustomTransform.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
DataLoad.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
DirectUpdate.cpp example: ++ DirectUpdate to cover more scenarios. 2024-09-30 15:11:16 +09:00
Duplicate.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Example.h wg_engine: external device handles (web integration) 2024-09-30 16:44:22 +09:00
FillRule.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
FillSpread.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
GifSaver.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
GradientMasking.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
GradientStroke.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
GradientTransform.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
ImageRotation.cpp examples: added image rotation 2024-09-30 16:44:21 +09:00
ImageScaleDown.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
ImageScaleUp.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Interaction.cpp examples: added Interaction sample 2024-09-30 15:48:50 +09:00
InvLumaMasking.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
InvMasking.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
LinearGradient.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Lottie.cpp Revert "examples: updated samples" 2024-09-30 16:44:22 +09:00
LottieExpressions.cpp lottie/expressions: added a missing polystar property build. 2024-09-30 15:35:59 +09:00
LottieExtension.cpp example/LottieExtension: adjusted its window size 2024-06-27 14:42:27 +09:00
LumaMasking.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Masking.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
MaskingMethods.cpp examples: added Lighten/Darken options in MaskingMethods 2024-09-30 15:48:18 +09:00
meson.build examples: replaced ClipPath with clip() 2024-09-30 16:44:22 +09:00
MultiCanvas.cpp example: print non support webgpu msg properly. 2024-09-30 15:20:31 +09:00
MultiShapes.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Opacity.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Path.cpp example: merge Path & PathCopy 2024-09-30 15:37:15 +09:00
Performance.cpp examples: added LottieExpressions 2024-09-30 15:31:55 +09:00
PictureJpg.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
PicturePng.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
PictureRaw.cpp examples: replaced ClipPath with clip() 2024-09-30 16:44:22 +09:00
PictureSvg.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
PictureTvg.cpp example: improved to print proper fail msgs. 2024-09-30 13:00:12 +09:00
PictureWebp.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
RadialGradient.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Retaining.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Scene.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
SceneBlending.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
SceneTransform.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Shape.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Stroke.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
StrokeLine.cpp API: deprecate the appendArc() api 2024-09-30 16:44:21 +09:00
StrokeMiterlimit.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
StrokeTrim.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Svg.cpp examples: ++svg samples 2024-09-30 16:44:22 +09:00
Text.cpp examples/text: hotfix 2024-09-30 16:44:21 +09:00
Transform.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Tvg.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
TvgSaver.cpp examples: replaced ClipPath with clip() 2024-09-30 16:44:22 +09:00
Update.cpp examples: replace the efl toolkit with sdl 2024-06-27 14:42:27 +09:00
Viewport.cpp examples: added LottieExpressions 2024-09-30 15:31:55 +09:00