nanovg
nanovg copied to clipboard
Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.
Truetype font with embedded bitmap font show failed (show some noise point). But when the font size is not the bitmap font size, show is OK.
The following drawing contains two overlapping strokes and one fill between them. Specifically, the fill contains a zero-height part where corresponding stroke is purely horizontal. As a result, there will...
Are there any plans to add support for dashed strokes? It doesn't appear to be possible to produce dashing on arbitrary curves with the current API.
The documentation for NVG claims that "NanoVG uses even-odd filling rule and by default the paths are wound in counter clockwise order." It then goes on to describe how shapes...
Searching for a way to animate SVGs I stumbled upon a specification called [SMIL](https://www.w3.org/TR/SMIL3/). Though quite old, this seemed very promising and its early implementations were reported to be very...
Visual Studio 2019 with CMake Steps to reproduce the error: 1. Download nanovg sources and premake 2. Generate the Visual Studio solution using premake 3. Open solution and build nanovg....
For some reason, I tried to render using mixed NanoVG and raw OpenGL. ``` glClearColor( 0.7f, 0.8f, 1, 1 ); glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT | GL_ACCUM_BUFFER_BIT ); //...
Hi. i want to compile nanovg. first create make files via: ``` ╰ premake4 gmake Building configurations... Running action 'gmake'... Generating build/Makefile... Generating build/nanovg.make... Generating build/example_gl2.make... Generating build/example_gl3.make... Generating build/example_gl2_msaa.make......
Hi Mikko :) Currently nvgText can only draw colored text, but can not draw image pattern, or gradient. So I want to propose that add support to use whole paint...