dkononovGm

Results 9 comments of dkononovGm

Yes, here it is. This is the main loop overlaping layers ordered by the area (larger areas first, smaller atop) ``` for _, rng := range contourPixelPoints { col :=...

> 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...

I have looked at your "draw" function and have a question: ``` // DrawPath draws a path at position (x,y) using the current draw state. func (c *Context) DrawPath(x, y...

I unfortunately cannot send a small piece of the code, since it's distributed over a number of files and functions. But I can try explaining what I want to have...

I seem to have figured it out how to illustrate my question with a small piece of code. Let us imagine that I have three circular contours as above. I...

Oh, I see. Am I right that by adding a subpath you in fact form a "complex path" that is, in fact, a ring? The problem is that I have...

Oh. And I have one more question. Do this operation `line1.Append(line2.Reverse())` connect the last point of the first contour with the first point of the next contour by MoveTo, or...

Oh. Almost, but my task is a little more complicated. I can easily have several smaller area contours within one big area contour and those smaller may have both larger...

> @dkononovGm Is this still an issue? Yes. I still hope that you'll be able to implement that P-D operator you mentioned. :)