More actions
NanoVG-vita | |
---|---|
File:Nanovgvita.jpg | |
General | |
Author | joel16 |
Type | Developments |
Version | 1.0 |
License | License |
Last Updated | 2021/10/13 |
Links | |
Download | |
Source | |
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.
How To Build NanoVG
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
Screenshot
Changelog
(v.1.0)
- First Release.
- This is just a demo that doesn't do much apart from displaying nanovg's rendering capabilities using the gles2 demo.
- Use the start or home button to exit.
- Use the triangle button to enable blowup.
- Use the square button to enable premult.
- Use the select button to take a screenshot.
License
The library is licensed under zlib license Fonts used in examples:
- Roboto licensed under Apache license
- Entypo licensed under CC BY-SA 4.0.
- Noto Emoji licensed under SIL Open Font License, Version 1.1
Links
Uses stb_truetype (or, optionally, freetype) for font rendering. Uses stb_image for image loading.
Credits
- GrapheneCt and contributors of PVR_PSP2 https://github.com/GrapheneCt/PVR_PSP2
- vitasdk