dia r3788 - in trunk: . app lib objects/standard plug-ins/xfig



Author: hans
Date: 2007-09-22 19:30:03 +0100 (Sat, 22 Sep 2007)
New Revision: 3788
ViewCVS link: http://svn.gnome.org/viewcvs/dia?rev=3788&view=rev

Modified:
   trunk/ChangeLog
   trunk/app/interface.c
   trunk/lib/arrows.c
   trunk/lib/arrows.h
   trunk/lib/attributes.c
   trunk/lib/autoroute.h
   trunk/lib/diaarrowchooser.c
   trunk/lib/diagramdata.h
   trunk/lib/diarenderer.c
   trunk/lib/diavar.h
   trunk/lib/font.h
   trunk/lib/libdia.def
   trunk/lib/widgets.c
   trunk/objects/standard/arc.c
   trunk/plug-ins/xfig/xfig-export.c
Log:
2007-09-21  Hans Breuer  <hans breuer org>

	* lib/arrow.[hc] : refactoring to more information hiding: 
	type menudesc renamed to ArrowDesc and moved arrow_types to arrow.c. 
	It will probably contain some additional information to calculate 
	arrow bounding boxes.
	* lib/attributes.c lib/diaarrowchooser.c lib/widgets.c
	  plug-ins/xfig/xfig-export.c : now only using accessors

	* lib/autoroute.h lib/diagramdata.h lib/diavar.h lib/font.h :
	minor cleanup for DIAVAR: removed unneeded includes, move
	render_boundig_boxes to diavar.h to make it useable for arrow.c
	
	* lib/libdia.def : adapted to the above

	* lib/arrow.[hc] : declare and implement arrow_bbox() taking the
	calculated start-point of arrows. The real size of arrows is only
	known in lib/arrow.c so finally all the *BBoxExtras stuff concerned 
	with arrows needs to vanish. The issue is further complicated by
	gap and other arrow posistion adjustmens; see bug #475168.
	
	* objects/standard/arc.c : use arrow_bbox() and calculate_arrow_point()
	for bounding box calculation. Get rid LineBBExtras usage for that.
	(arc_update_handles) always intialize the middle_handle.pos, not only
	when there is enough distance.
	
	* samples/arrows.dia : updated for broader coverage

	* app/interface.c : get rid of const for non-const strings, no more
	interface.c(477) : 'function' : different 'const' qualifiers
	interface.c(477) : 'g_free' : pointer mismatch for actual parameter 1






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]