thorvg/examples
Hermet Park cc4c18d6c6 renderer: revise the Shape rect/circle features
The path direction of shapes is now functional for path trimming.
Replace the main logic with Lottie's by default
to align the spec, migrate the original logic to svg loader side.

This revision helps to reduce the binary size by 2–3 KB for lottie loader.

API Modifications:

- Result Shape::appendRect(float x, float y, float w, float h, float rx = 0, float ry = 0)
 -> Result Shape::appendRect(float x, float y, float w, float h, float rx = 0, float ry = 0, bool cw = true)
- Result Shape::appendCircle(float cx, float cy, float rx, float ry)
 -> Result Shape::appendCircle(float cx, float cy, float rx, float ry, bool cw = true)
- TVG_API Tvg_Result tvg_shape_append_circle(Tvg_Paint* paint, float cx, float cy, float rx, float ry)
 -> TVG_API Tvg_Result tvg_shape_append_circle(Tvg_Paint* paint, float cx, float cy, float rx, float ry, bool cw)
- Tvg_Result tvg_shape_append_rect(Tvg_Paint* paint, float x, float y, float w, float h, float rx, float ry)
 -> Tvg_Result tvg_shape_append_rect(Tvg_Paint* paint, float x, float y, float w, float h, float rx, float ry, bool cw)

issue: https://github.com/thorvg/thorvg/issues/3179
2025-02-12 01:41:02 +09:00
..
resources example: removed interaction sample 2025-02-06 19:09:27 +09:00
Accessor.cpp api: renamed api for consistency 2025-01-13 16:53:14 +09:00
all.sh infra: move the examples folder outside of the source directory. 2024-04-01 10:52:22 +09:00
AnimateMasking.cpp updated copyright 2025-01-03 14:32:31 +09:00
Animation.cpp updated copyright 2025-01-03 14:32:31 +09:00
Blending.cpp examples: revise the blending sample 2025-01-07 12:16:07 +09:00
Capi.cpp renderer: revise the Shape rect/circle features 2025-02-12 01:41:02 +09:00
Clipping.cpp updated copyright 2025-01-03 14:32:31 +09:00
CustomTransform.cpp updated copyright 2025-01-03 14:32:31 +09:00
DataLoad.cpp updated copyright 2025-01-03 14:32:31 +09:00
DirectUpdate.cpp updated copyright 2025-01-03 14:32:31 +09:00
Duplicate.cpp updated copyright 2025-01-03 14:32:31 +09:00
EffectDropShadow.cpp updated copyright 2025-01-03 14:32:31 +09:00
Example.h example: added lottie tweening sample 2025-02-06 19:09:27 +09:00
FillRule.cpp updated copyright 2025-01-03 14:32:31 +09:00
FillSpread.cpp updated copyright 2025-01-03 14:32:31 +09:00
GifSaver.cpp updated copyright 2025-01-03 14:32:31 +09:00
GradientMasking.cpp updated copyright 2025-01-03 14:32:31 +09:00
GradientStroke.cpp updated copyright 2025-01-03 14:32:31 +09:00
GradientTransform.cpp updated copyright 2025-01-03 14:32:31 +09:00
ImageRotation.cpp updated copyright 2025-01-03 14:32:31 +09:00
ImageScaleDown.cpp updated copyright 2025-01-03 14:32:31 +09:00
ImageScaleUp.cpp updated copyright 2025-01-03 14:32:31 +09:00
InvLumaMasking.cpp updated copyright 2025-01-03 14:32:31 +09:00
InvMasking.cpp updated copyright 2025-01-03 14:32:31 +09:00
LinearGradient.cpp updated copyright 2025-01-03 14:32:31 +09:00
Lottie.cpp updated copyright 2025-01-03 14:32:31 +09:00
LottieExpressions.cpp updated copyright 2025-01-03 14:32:31 +09:00
LottieExtension.cpp examples: add slot transform overriding samples 2025-01-07 16:03:37 +09:00
LottieTweening.cpp example: added lottie tweening sample 2025-02-06 19:09:27 +09:00
LumaMasking.cpp updated copyright 2025-01-03 14:32:31 +09:00
Masking.cpp updated copyright 2025-01-03 14:32:31 +09:00
MaskingMethods.cpp updated copyright 2025-01-03 14:32:31 +09:00
meson.build example: removed interaction sample 2025-02-06 19:09:27 +09:00
MultiCanvas.cpp examples: revise the blending sample 2025-01-07 12:16:07 +09:00
Opacity.cpp updated copyright 2025-01-03 14:32:31 +09:00
Path.cpp updated copyright 2025-01-03 14:32:31 +09:00
Performance.cpp updated copyright 2025-01-03 14:32:31 +09:00
PictureJpg.cpp updated copyright 2025-01-03 14:32:31 +09:00
PicturePng.cpp updated copyright 2025-01-03 14:32:31 +09:00
PictureRaw.cpp updated copyright 2025-01-03 14:32:31 +09:00
PictureSvg.cpp examples: revise the blending sample 2025-01-07 12:16:07 +09:00
PictureWebp.cpp updated copyright 2025-01-03 14:32:31 +09:00
RadialGradient.cpp updated copyright 2025-01-03 14:32:31 +09:00
Retaining.cpp updated copyright 2025-01-03 14:32:31 +09:00
Scene.cpp updated copyright 2025-01-03 14:32:31 +09:00
SceneBlending.cpp updated copyright 2025-01-03 14:32:31 +09:00
SceneEffects.cpp updated copyright 2025-01-03 14:32:31 +09:00
SceneTransform.cpp updated copyright 2025-01-03 14:32:31 +09:00
Shapes.cpp updated copyright 2025-01-03 14:32:31 +09:00
Stroke.cpp updated copyright 2025-01-03 14:32:31 +09:00
StrokeLine.cpp updated copyright 2025-01-03 14:32:31 +09:00
StrokeMiterlimit.cpp updated copyright 2025-01-03 14:32:31 +09:00
StrokeTrim.cpp renderer: revise the Shape rect/circle features 2025-02-12 01:41:02 +09:00
Svg.cpp updated copyright 2025-01-03 14:32:31 +09:00
Text.cpp updated copyright 2025-01-03 14:32:31 +09:00
Transform.cpp updated copyright 2025-01-03 14:32:31 +09:00
Update.cpp updated copyright 2025-01-03 14:32:31 +09:00
Viewport.cpp updated copyright 2025-01-03 14:32:31 +09:00