{"id":60676,"library":"nanovg","title":"NanoVG","description":"Small antialiased vector graphics rendering library for OpenGL.","status":"active","version":"2023-08-26","language":"cpp","source_language":null,"source_url":null,"tags":["graphics","vector","opengl","2d"],"install":[{"cmd":"vcpkg install nanovg","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(nanovg CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE nanovg::nanovg)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"nanovg.h","correct":"#include <nanovg.h>"}],"quickstart":{"code":"#include <nanovg.h>\nint main() { NVGcontext* vg = nvgCreateGL3(NVG_ANTIALIAS); return 0; }","lang":"cpp","description":"Create NanoVG context with OpenGL 3 backend"},"warnings":[{"fix":"Ensure OpenGL is initialized and use the correct nvgCreate* function for your OpenGL version.","message":"Requires OpenGL context and may need specific backend (GL2, GL3, or GLES2).","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'2d':13 'antialias':3 'graphic':5,10 'librari':7 'nanovg':1 'opengl':9,12 'render':6 'small':2 'vector':4,11","created_at":"2026-06-17T04:23:57.045609+00:00","updated_at":"2026-06-17T04:23:57.045609+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}