Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.
Go to file
2022-04-15 21:31:41 -04:00
.github/workflows New ci.yml. Build nanovg on every push on ubuntu. 2020-12-25 16:43:36 +01:00
include nanovg-vita: Update to PVR_PSP2 v3.6 2021-10-13 01:11:07 -04:00
libs/nanovg Fixes memory leaks due to not releasing font images properly. 2022-04-15 21:31:41 -04:00
sce_sys nanovg-vita: Initial working port 2021-09-05 01:33:23 -04:00
source nanovg-vita: Clean-up egl functions 2021-10-27 21:52:12 -04:00
.gitignore nanovg-vita: Initial working port 2021-09-05 01:33:23 -04:00
CMakeLists.txt PVRSRV: Do not explicitly set path to libGLESv2/libpvrPSP2_WSEGL module 2021-09-08 00:45:29 -04:00
README.md nanovg-vita: Update to PVR_PSP2 v3.6 2021-10-13 01:11:07 -04:00

NanoVG-vita

NanoVG is small antialiased vector graphics rendering library for OpenGL. It has lean API modeled after HTML5 canvas API. It is aimed to be a practical and fun toolset for building scalable user interfaces and visualizations.

nanovg-vita screenshot

Building

This project is dependent on PVR_PSP2. The required modules (libgpu_es4_ext.suprx, libIMGEGL.suprx, libGLESv2.suprx and libpvrPSP2_WSEGL.suprx) will need to be inside of a folder named "data" that lies in same directory as the CMakeLists.txt. You will also need the following stubs libgpu_es4_ext_stub_weak, libGLESv2_stub_weak and libIMGEGL_stub_weak in your build env or inside the libs directory. Then build using the following command:

mkdir build && cd build
cmake .. && make

License

The library is licensed under zlib license Fonts used in examples:

Uses stb_truetype (or, optionally, freetype) for font rendering. Uses stb_image for image loading.

Credits