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 475173 - Many objects don't advertise their BBExtras
Many objects don't advertise their BBExtras
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
CVS head
Other All
: Normal normal
: 0.97
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks: 145575
 
 
Reported: 2007-09-09 17:04 UTC by Hans Breuer
Modified: 2007-09-09 21:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hans Breuer 2007-09-09 17:04:43 UTC
For correct bounding box calculation stuff like the line width needs to be taken into account. 

this correctly done in e.g. objects/standard/box.c 

  ElementBBExtras *extra = &elem->extra_spacing;

  extra->border_trans = box->border_width / 2.0;

  element_update_boundingbox()

but not at all in e.g. objects/UML/*.c
Comment 1 Hans Breuer 2007-09-09 21:21:14 UTC
at least the UML part is done:

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

	* object/UML/class.c : the template box was not considered in the
	bounding box, part of bug #475173
	* object/UML/(activity|branch|state|state_term|usecase).c : 
	ElementBBExtras, should fix bug #475173