nanovg
nanovg copied to clipboard
Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.
This pull request adds two font loading functions that allow loading faces from .ttc files (on disk or in memory) given an index for the face. This involves changes through...
I'm using code from this issue and I'm getting the same error as the OP: https://github.com/memononen/nanovg/issues/250 Code: ``` nvgBeginPath(vg); nvgMoveTo(vg, centerX, centerY); nvgArc(vg, centerX, centerY, radius, NVG_PI / 4, NVG_PI...
Hello. Take a look at line 1593 of nanovg_gl.h. Expression 'ctx != NULL' is always false.
thanks for nanovg mikko!
I try to draw a simple arrow with stroke = 5. I get some strange render issue. That's what I get: https://s9.postimg.org/6itsxm5jz/2016_09_15_12_51_02.png My code for that is: ``` nvgBeginPath( _vg...
Caching paths is great, but sometimes your paths are changing often. In that case, you need the fastest tessellation algorithm possible. In my app, Adaptive Forward Differencing (AFD) provides a...
I've been trying to run nanovg on a Raspberry Pi 3 B to see how it performs (GLES2). Well, it's very slow (
Is possible to add sdl2+OpenGL example I need draw on background, this is possible?
What are `bounds` for? What are `nvg__calculateJoins` and `nvg__expandFill`? I would like to learn how to render 2d signed distance field quad, triangle, you know, primitive geometry, but with high...