Mikko Mononen

Results 172 comments of Mikko Mononen

I have tried to pick this up few times, but failed to find the time to really dig into it. I had 2 issues with the code: 1) it should...

Hi, the rasterizer is very bare bones, I made it for a prototype where I needed some icon rendering. It should support solid fills and gradients, but it can be...

@akossmith Have you tried the very recent version? I improved how the outline is tessellated, and it should look better now (less angled). The upper image also looks a bit...

Awesome that the new version worked. And, thanks! :)

Gradients are parsed from defs. I have to take a look at why that does not work. The point of the NANOSVG_IMPLEMENTATION is that the header file acts both as...

I took a quick look at it. The problem is that NanoSVG does not properly support percentage coordinates. It would totally make sense to support them at least for gradients....

I don't have a good reason why, it just made sense at the time of writing. My use case was usual text paragraphs, there it makes sense. I think it...

I think it was chosen for API consistency.

We're rendering triangle fans and strips, no need for elements.

NanoVG does not support drawing dashed lines.