GNOME Bugzilla – Bug 477569
More arrow issues: Arc arrows are not considered for bounding box
Last modified: 2008-04-26 17:00:23 UTC
Every arrow in row two of samples/arrows.dia exceeds the bounding box. The code in objects/standard/arc.c calls connection_update_boundingbox() which in turn calls line_bbox(). This is not correct because it does not consider the almost always different directions arrows on an arc point to,
My big arrow refactoring starts to look promising. Stay tuned;)
Again fixed by: 2007-10-06 Hans Breuer <hans@breuer.org> * lib/arrows.c : major restructuring - getting calculate and draw by function pointer. A lot of arrows are converted to the new style thus arrow_bbox() can give the correct bounding box. * objects/standard/arc.c : bug #340705 and bug #477569 objects/standard/bezier.c : bug #300055 objects/standard/line.c objects/standard/polyline.c objects/standard/zigzagline.c : not using *BBExtra to adjust the bounding box for arrows but instead a combination of arrow_bbox() and calculate_arrow_point()