On Thu Nov 17 10:17:28 2022 +0000, Bartosz Kosiorek wrote:
TODO The line should be shortened, to not mix with Customized Cap (the customized cap was drawn correctly, only the line is too long). Do you know how to implement that? ![Screenshot_from_2022-11-08_19-51-40](/uploads/dabd7fb066ec5b47b828621383efcb5e/Screenshot_from_2022-11-08_19-51-40.png)
I'm not sure. Maybe widen_open_figure needs to be aware of the inset and adjust the points it passes to width_joint. Or maybe the path needs to be adjusted after GdipFlattenPath.
I think it depends on what happens when the path ends with a segment that's shorter than the inset.