joel16 / nanovg-vita

Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

Links

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

Credits

About

Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.


Languages

Language:C 99.6%Language:C++ 0.2%Language:Lua 0.1%Language:CMake 0.1%