Mikko Mononen
Mikko Mononen
If the svg has a lot of small details, then the AA in nanovg wont work. Rasterization is safe bet.
It should not be a problem, but you should of course profile it if you're concerned.
NanoVG uses fontstash for font rendering, can you test the fontstash example to see if you get similar problem: https://github.com/memononen/fontstash It uses premake too, so same procedure to run the...
Yep, that's how it should look like. I was trying to see if we could replicate the problem with simpler setup. I have to say, I have no idea what...
Do you have a repro case for the failing subtraction? It should work. Also, do you have a specific case for the simple polygon that is slower, and how much...
Yes, this would be a good feature to have. I don't currently have time to implement it, but I can walk you help you out to make a PR for...
It's in "display units", that is, the same ones you use to draw lines and stuff. If you have retina display, then you must set the pixel ratio correctly (see...
@kralliv Is this still the case after https://github.com/memononen/nanovg/pull/558 ?
It has to do how the miter join is calculated. I.e. https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linejoin This is how it looks like in a drawing application Affinity Designer: You should draw arrows as two...
As a general rule: if you would lift a pen, then use `moveTo`.