I'm trying to draw SVG data using NanoVG and some weird stuff is happening. The stroking is okay but the fill...not so much:
Here are the points I'm using to draw it (imported from font file); P0 & P1 are start/end points, C0 & C1 are control points for the two points for when a bezier curve is drawn. Ignore the last number; that's something else.
And here is the rendering code:
Note that I tried to set the line-to case to just a normal nvgLineTo, and it produces the same effect.
I'm trying to draw SVG data using NanoVG and some weird stuff is happening. The stroking is okay but the fill...not so much:
Here are the points I'm using to draw it (imported from font file); P0 & P1 are start/end points, C0 & C1 are control points for the two points for when a bezier curve is drawn. Ignore the last number; that's something else.
And here is the rendering code:![image](https://user-images.githubusercontent.com/31030033/54166102-da159300-4420-11e9-8338-320485d5abee.png)
Note that I tried to set the line-to case to just a normal nvgLineTo, and it produces the same effect.