]> granicus.if.org Git - graphviz/commit
splines: bezier_clip: change to clip just inside instead of just outside the node
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 13 Apr 2022 21:01:41 +0000 (23:01 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 11 Oct 2022 19:45:27 +0000 (21:45 +0200)
commitb030403895f8deab64e8b8111b24157684790d63
tree3a0cc859e08ce4d7a956589a2cf6606dd9958c63
parent23e08ef13bde482d56bb40f0eb32507422b961cd
splines: bezier_clip: change to clip just inside instead of just outside the node

The previous changes removed *all* overlap between nodes and edges at
the expense of creating a very small gap instead. This is visually not
very pleasing. This change ensures that we get a very small minimum
overlap instead.

The test_min_edge_node_overlap_simple and
test_min_edge_node_overlap_node_shapes tests tests now succeed, so the
expectancy that they should fail is removed.

Towards https://gitlab.com/graphviz/graphviz/-/issues/372.
lib/common/splines.c
tests/test_min_edge_node_overlap_polygon_node_shapes.cpp
tests/test_min_edge_node_overlap_simple.cpp