nanovg
nanovg copied to clipboard
a couple of questions
hi, great project
I have a few questions:
- with what API does the opengl context is acquired internally ?
- what is the best practice to integrate this into a window system ? maybe even SDL
- how are the vector graphics rendered ? distance map fields ? what is the technique ?
cheers Tomer
I set the window stuff up with glfw and then use nannovg to draw in the window. (See: https://github.com/mulle-kybernetik-tv/MulleGLExample/blob/4315b15e1bc1d5cc52f8ec2ef29bf534dd7a067c/src/main.m). I don't know if that is best practice, nor would I care :)
Can't answer #3, I am just using the functionc calls :)