I've attached a file to this. I don't know how that will show up here, but it illustrates my problem.
I'm running into a visual artifact that I'd like some expert opinions on how to address or at least work around.
I'm new to both Prawn and to Ruby.
Basically, I'm drawing two shapes that share an edge. In the math world, with no rounding errors, my two shapes would perfectly line up, and there would be no visual gap between the two shapes. But I'm assuming because of small rounding errors, I get tiny gaps between the two shapes. Never more than a hairline in size, and they may or may not be visible depending on the zoom level. (Zooming in doesn't guarantee they show up, nor does zooming out guarantee they go away.)
The artifact that I'm referring to is the little white line that cuts down into the shape in the attached image. There are basically three shapes there in the picture. One is a quarter circle, and the other two are rectangles that butt up against the edge of the quarter circle. So the two rectangles overlap a bit as well.
I'm just wondering if anybody else out there has dealt with similar problems and has a good creative solution to it.
I tried drawing an outline around the circle, but even if I make the thickness really small, I get what I presume to be a similar artifact where I can see the edge poke out just a bit.
I also looked around for like an inflate or expand function, but I don't see it in the API. Maybe I just don't know what I'm looking for. Even if I found it though, I think it might have the same artifacts as drawing the outline.
I can't just do it all as one shape. Eventually, they'll need to be colored differently.