memononen / nanovg

Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.
zlib License
5.06k stars 767 forks source link

`nvgArc` and `nvgArcTo` parameters correspondence and conversion #661

Open GPrimola opened 11 months ago

GPrimola commented 11 months ago

Hi,

I'm having a hard time to find resources on how to map this parameters of an elliptical arc:

so they can fit to nvgArcTo and nvgArc functions to draw an elliptical arc. I hope someone could help me with that.

Thank you!