Taco de Wolff

Results 170 comments of Taco de Wolff

I can reproduce the bug locally as well. Just to understand the code, why would the number of points be larger than 30? It seems to repeat itself after 30,...

I've fixed the bug but it has been a Pyrrhic victory as it fails three tests. Please test and see if you discover any new bugs. You use-case is greatly...

Yes you can, although it's not perfect yet for complex paths (especially self-intersecting paths fail). You can use the path logical operations for this: ```go p := &canvas.Path{} // create...

Do you have a small example code that reproduces this?

Just a quick idea, the rasterizer gives awkward results for open paths. Are you sure the paths are closed? You can close a polyline by appending the starting point at...

Drawing a shape is always blended with previously drawn shapes below. That is, drawing transparent pixels is like doing nothing, which is why `HasFill` returns `false`. If you want a...

In general, the way drawing happens in most libraries (imitating what happens when you literally paint something) is that you can't remove painted pixels below, you can only over-paint with...

Yes, it subtracts the inner path from the outer path. Appending literally appends the path and does no effort to join both paths, for that we have `Join`. I'm not...

Well, it depends on whichever value should be on top. I was assuming that darker blue should always be on top (higher value), but if this is not always the...