Mira Grudzinska
7ec67baf9a
examples: ensure the file is closed
...
In case of an error during memory allocation
for file data, the file was not closed.
2024-06-24 14:53:32 +09:00
Hermet Park
bfcde7403e
examples: ++ function name alignment
2024-06-24 14:51:04 +09:00
Mira Grudzinska
c35b731f0f
example: load font from memory in Text.cpp
2024-06-24 14:50:22 +09:00
Hermet Park
137383ff78
examples: fix memory leak
2024-06-24 14:43:14 +09:00
Mira Grudzinska
710fa22d50
capi: bindings for strokeTrim
...
Example Capi.cpp modyfied.
2024-06-24 14:41:15 +09:00
Mira Grudzinska
ad748df345
examples: add StrokeTrim example
2024-06-24 14:40:40 +09:00
Mira Grudzinska
816e7cc584
examples: fix heap-use-after-free in Capi.cpp
2024-06-24 14:36:12 +09:00
RuiwenTang
e6deee7fd8
Fix AnimateMasking with GL backend not triger redraw
2024-06-24 14:34:11 +09:00
Hermet Park
f30b0fe04c
examples: added more svg resources.
2024-06-24 14:31:28 +09:00
Hermet Park
22cb25b488
examples: added a viewport sample
2024-06-24 14:21:55 +09:00
Hermet Park
63705d9f04
examples/lottie: updated resources
2024-06-24 12:36:30 +09:00
JunsuChoi
6249263d2a
example: Sync setting size and window default size
...
When WIDTH and HEIGHT values change,
the default size of the window also changes.
2024-06-24 12:36:04 +09:00
Hermet Park
b3d4b36710
examples/lottie: added expressions sample
2024-06-24 12:27:35 +09:00
RuiwenTang
a6974a9495
gl_engine: fix rendering error caused by viewport and stencil state
...
Fix some error:
* glViewport not controlled by framebuffer, and need to set manually when
target framebuffer is changed.
* change even-odd stencil operation, so no need to do third draw call to
clear stencil buffer
* fix the missing `GlCanvas::update` calls in Lottoe and LottieExtension
2024-06-24 12:27:17 +09:00
Mira Grudzinska
cc92865634
build: enforcing saver/loader usage for given tool
...
Selecting a tool without choosing the required tools
resulted in a usage error. Now, the activation
of the appropriate saver/loader for a given tool
is enforced.
2024-06-24 12:21:10 +09:00
Lucas Niu
e6e7ca9fee
examples/lottie: Add example for the Marker
...
Co-authored-by: Jinny You <jinny@lottiefiles.com>
2024-06-24 12:02:53 +09:00
Hermet Park
f5cd67b77e
tvg: updated binary resources to v0.13
2024-04-07 15:15:59 +09:00
Hermet Park
9374437115
example: fixed broken tvg saver resource pathes
2024-04-07 15:15:59 +09:00
Hermet Park
26e04611e6
infra: move the examples folder outside of the source directory.
...
examples are not considered a feature of ThorVG;
hence, they are excluded from the src directory.
This change allows developers to concentrate more effectively
on the core ThorVG sources for practical usages.
2024-04-06 12:48:27 +09:00