After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 477566 - More arrow issues: "Slashed Cross" partially outside of bounding box
More arrow issues: "Slashed Cross" partially outside of bounding box
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
0.96.1
Other All
: Normal normal
: 0.97
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks: 475168
 
 
Reported: 2007-09-16 19:28 UTC by Hans Breuer
Modified: 2008-04-26 16:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hans Breuer 2007-09-16 19:28:19 UTC
Given the complexity of bug #475168 I've made some test file for arrow issues.

2007-09-16  Hans Breuer  <hans@breuer.org>

	* samples/arrows.dia : show some arrows (and their bounding box issues)

This one is probably to be fixed in lib/arrows.c at least if this arrow should be moved as well (calculate_arrow_point). Not sure yet where the bounding box is calculated when the arrow is supposed not to be moved.
Comment 1 Hans Breuer 2008-04-26 16:58:13 UTC
Not sure what is still missing, this one got 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()