Mira Grudzinska
0a677396c4
sw_engine: split long lines to avoid overflow
...
@Issue: https://github.com/thorvg/thorvg/issues/2651
2024-10-10 14:21:13 +09:00
Mira Grudzinska
19d3eb95e2
sw_engine: ++exception handling
...
Prevent the infinite loop in the worst case
@Issue: https://github.com/thorvg/thorvg/issues/2651
2024-10-03 23:59:18 +09:00
Hermet Park
b868503033
sw_engine: ++stability
...
cut the Bezier curve based on the number of points
and transform it into a straight line when it's very small.
issue: https://github.com/thorvg/thorvg/issues/2759
2024-10-03 18:54:14 +09:00
Hermet Park
b0683a26ec
api: Introduced Paint::clip() API
...
Separate clip function from the Composite()
clipping and composition can be used together.
This helps avoid the introduction of nested scenes
when composition and clipping overlap.
Deprecated:
- enum class CompositeMethod::ClipPath
- enum Tvg_Composite_Method::TVG_COMPOSITE_METHOD_CLIP_PATH
Experimental API:
- Result Paint::clip(std::unique_ptr<Paint> clipper)
- Tvg_Result tvg_paint_set_clip(Tvg_Paint* paint, Tvg_Paint* clipper)
Issue: https://github.com/thorvg/thorvg/issues/1496
2024-09-19 14:46:05 +09:00
Hermet Park
407fc84796
common: spec out Scene Clipper
...
Scene Clipper is an unusual feature
that is too unstable and ambiguous in ThorVG.
Users can achieve the same functionality
with multiple composed shapes instead of scene clipping.
size: -2.5kb
issues:
- https://github.com/thorvg/thorvg/issues/1548
- https://github.com/thorvg/thorvg/issues/1549
- https://github.com/thorvg/thorvg/issues/1573
2024-08-13 10:21:54 +09:00
Hermet Park
837cf32bcb
sw_engine: code refactoring.
...
just renamed internal name shorter.
2024-07-10 18:35:20 +09:00
Hermet Park
065a8f5eb3
sw_engine: ++rle optimization
...
Reduction memory copy by pushing span data into rle immediately.
2024-07-10 18:35:20 +09:00
Josh Soref
e061fa6628
common: fix 178+ spelling errors
2024-07-01 21:58:46 +09:00
Hermet Park
c4d09160e4
Revert "sw_engine: revert the threshold."
...
This reverts commit dad797445b
.
Misidentified the key issue. It will be reviewed again.
2024-06-07 12:23:35 +09:00
Hermet Park
dad797445b
sw_engine: revert the threshold.
...
Somehow, it breaks the window unit-test, revert the value.
regression by: 51a2936b28
2024-06-07 12:08:28 +09:00
Hermet Park
51a2936b28
sw_engine: fine-tuning RLE performance.
...
the arranged value is examined with the local test,
improved the speed twice for a corner-case that
extreamly huge size shape.
2024-06-07 10:38:08 +09:00
Hermet Park
043b6b9f4f
common/array: code refactoring
...
Make the array interface pair begin()/end() for consistency.
2024-02-19 19:09:30 +09:00
Jinny You
2c6c8d3b21
updated copyright date ( #1866 )
2023-12-28 10:43:25 +09:00
Hermet Park
5a73bcaa8f
common/array: code refactoring
...
easy access to a specific data with a operator.
2023-08-29 12:28:38 +09:00
Hermet Park
24711e485c
infra: renames the source folders
...
lib -> renderer
bin -> tools
utils -> common
2023-08-28 13:11:24 +09:00