https://github.com/tremus/nanovg_compat
NanoVG wrapper for Windows and MacOS
https://github.com/tremus/nanovg_compat
cmake directx-11 metal nanovg vector-graphics
Last synced: about 1 month ago
JSON representation
NanoVG wrapper for Windows and MacOS
- Host: GitHub
- URL: https://github.com/tremus/nanovg_compat
- Owner: Tremus
- Created: 2023-04-21T03:34:11.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-01T01:51:40.000Z (5 months ago)
- Last Synced: 2025-04-02T08:47:41.388Z (3 months ago)
- Topics: cmake, directx-11, metal, nanovg, vector-graphics
- Language: C
- Homepage:
- Size: 50.8 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nanovg_compat
Simple wrapper for [NanoVG](https://github.com/memononen/nanovg). Ready to include as a module for a CMake project. By default it uses the backends DirectX 11 on Windows and Metal on MacOS.
## Linking
CMake will build this as a static library you should link as `nanovg_compat`.
You will have to link additional libraries depending on your operating system.
- Windows: `d3d11` & `dxguid`
- MacOS: `-framework Metal -framework QuartzCore`