thorvg/examples
Hermet Park 76fb3f3cd9 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-23 21:53:50 +09:00
..
resources examples: updated a lottie sample 2024-09-19 15:30:40 +09:00
Accessor.cpp renderer/accessor: revise set() api for animation support 2024-08-07 12:02:22 +09:00
all.sh infra: move the examples folder outside of the source directory. 2024-04-01 10:52:22 +09:00
AnimateMasking.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Animation.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Blending.cpp renderer: blending refactoring++ 2024-09-09 21:18:13 +09:00
Capi.cpp api: clean up 2024-09-23 21:53:50 +09:00
Clipping.cpp examples: replaced ClipPath with clip() 2024-09-19 14:46:05 +09:00
CustomTransform.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
DataLoad.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
DirectUpdate.cpp example: ++ DirectUpdate to cover more scenarios. 2024-07-08 11:39:28 +09:00
Duplicate.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Example.h wg_engine: external device handles (web integration) 2024-09-06 13:08:58 +09:00
FillRule.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
FillSpread.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
GifSaver.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
GradientMasking.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
GradientStroke.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
GradientTransform.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
ImageRotation.cpp examples: added image rotation 2024-08-22 13:01:53 +09:00
ImageScaleDown.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
ImageScaleUp.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Interaction.cpp examples: added Interaction sample 2024-08-07 12:02:22 +09:00
InvLumaMasking.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
InvMasking.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
LinearGradient.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Lottie.cpp Revert "examples: updated samples" 2024-09-15 15:24:36 +09:00
LottieExpressions.cpp lottie/expressions: added a missing polystar property build. 2024-07-18 20:46:06 +09:00
LottieExtension.cpp example/LottieExtension: adjusted its window size 2024-06-24 11:19:16 +09:00
LumaMasking.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Masking.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
MaskingMethods.cpp examples: added Lighten/Darken options in MaskingMethods 2024-08-07 11:04:38 +09:00
meson.build examples: replaced ClipPath with clip() 2024-09-19 14:46:05 +09:00
MultiCanvas.cpp example: print non support webgpu msg properly. 2024-07-09 11:26:18 +09:00
MultiShapes.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Opacity.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Path.cpp example: merge Path & PathCopy 2024-07-21 15:05:07 +09:00
Performance.cpp examples: added LottieExpressions 2024-07-12 18:57:10 +09:00
PictureJpg.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
PicturePng.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
PictureRaw.cpp examples: replaced ClipPath with clip() 2024-09-19 14:46:05 +09:00
PictureSvg.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
PictureTvg.cpp example: improved to print proper fail msgs. 2024-07-08 11:39:28 +09:00
PictureWebp.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
RadialGradient.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Retaining.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Scene.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
SceneBlending.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
SceneTransform.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Shape.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Stroke.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
StrokeLine.cpp API: deprecate the appendArc() api 2024-08-16 13:30:58 +09:00
StrokeMiterlimit.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
StrokeTrim.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Svg.cpp examples: ++svg samples 2024-09-05 23:52:22 +09:00
Text.cpp common: fix 178+ spelling errors 2024-07-01 21:58:46 +09:00
Transform.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Tvg.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
TvgSaver.cpp examples: replaced ClipPath with clip() 2024-09-19 14:46:05 +09:00
Update.cpp examples: replace the efl toolkit with sdl 2024-06-20 17:49:18 +09:00
Viewport.cpp examples: added LottieExpressions 2024-07-12 18:57:10 +09:00