Mikko Mononen
Mikko Mononen
Does it work if you reverse the `NVG_CCW` and `NVG_CW`? NanoVG handles anti-aliasing by insetting the polygon and rendering 1px wide fade around it. That does not work well with...
The gradient transform is stored as inverse so that passing a point to it will return a point in gradient space. In retrospect sound wierd, but made sense at the...
Why would you need to do this?
Multiple `nvgBeginFrame()`/`nvgEndFrame()` pairs or rendering to texture and using that within the nanovg is the way to go.
Save and restore store the nvg draw state (color, font size, etc). It's simple way to leave a common state intact after drawing stuff. You can think save = push,...
Thanks for the feedback, good points!
I wonder if it was possible to add some callbacks to allow external CSS parser? Maybe use Netsurf's libcss as an example? http://www.netsurf-browser.org/projects/libcss/ I think bare bones one would be...
Could you provide a couple of simple examples from some commonly used editors? Just to see if they are much different than the one Dean linked. On Tue, Feb 2,...
And Illustrator uses just the class in the svg file?
There's no plans for that at this point. Some asserts are there to capture a crash (i.e. mesh topology checks), some are more a validation (i.e. the assert in normalize)....