Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 2 months ago
JSON representation

NanoVG wrapper for Windows and MacOS

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`