https://github.com/superauguste/thorvg-zig-example
https://github.com/superauguste/thorvg-zig-example
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/superauguste/thorvg-zig-example
- Owner: SuperAuguste
- License: mit
- Created: 2024-10-23T16:38:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-23T16:41:00.000Z (over 1 year ago)
- Last Synced: 2025-04-11T11:46:26.941Z (about 1 year ago)
- Language: Zig
- Size: 4.88 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# thorvg-zig-example
Zig + SDL2 + ThorVG!
`zig build run` on (hopefully) any device should work out of the box with no dependencies.
Cross-compilation finnicky due to SDL2.
Tested on Windows with Zig `0.13.0`.
Ported from the [official ThorVG Capi example](https://github.com/thorvg/thorvg/blob/v1.0-pre2/examples/Capi.cpp)
which is also licensed under MIT.