[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: o_box.c
User: pcjc2
Date: 07/03/26 15:16:11
Modified: . Tag: noscreen o_box.c o_circle.c o_picture.c
Log:
Pass OBJECT instead of derived type into world_get_..._bounds().
Modifed objects to include the drawn line width when calculating bounds.
Set OBJECT->line_width to {NET|BUS|PIN}_WIDTH as appropriate in o_{net|bus|pin}_add().
Replaced copied code in world_get_{net|pin|bus}_bounds() with calls to world_get_line_bounds().
Added call to o_recalc_single_object() in o_set_line_options() to keep line width up-to-date with
editing.
Revision Changes Path
No revision
No revision
1.24.2.5 +1 -1 eda/geda/gaf/gschem/src/o_box.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_box.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_box.c,v
retrieving revision 1.24.2.4
retrieving revision 1.24.2.5
diff -u -b -r1.24.2.4 -r1.24.2.5
--- o_box.c 25 Feb 2007 14:37:38 -0000 1.24.2.4
+++ o_box.c 26 Mar 2007 19:16:11 -0000 1.24.2.5
@@ -69,7 +69,7 @@
/* Get read to check for visibility of this line by using it's
* bounding box */
- world_get_box_bounds(w_current, o_current->box,
+ world_get_box_bounds(w_current, o_current,
&wleft, &wtop, &wright, &wbottom);
if ( (w_current->DONT_REDRAW == 1) ||
1.22.2.4 +1 -1 eda/geda/gaf/gschem/src/o_circle.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_circle.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_circle.c,v
retrieving revision 1.22.2.3
retrieving revision 1.22.2.4
diff -u -b -r1.22.2.3 -r1.22.2.4
--- o_circle.c 25 Feb 2007 14:37:38 -0000 1.22.2.3
+++ o_circle.c 26 Mar 2007 19:16:11 -0000 1.22.2.4
@@ -68,7 +68,7 @@
* Get read to check for visibility of this line by using it's
* bounding box
*/
- world_get_circle_bounds(w_current, o_current->circle,
+ world_get_circle_bounds(w_current, o_current,
&wleft, &wtop, &wright, &wbottom);
if ( (w_current->DONT_REDRAW == 1) ||
1.6.6.6 +1 -1 eda/geda/gaf/gschem/src/o_picture.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_picture.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_picture.c,v
retrieving revision 1.6.6.5
retrieving revision 1.6.6.6
diff -u -b -r1.6.6.5 -r1.6.6.6
--- o_picture.c 25 Feb 2007 14:37:39 -0000 1.6.6.5
+++ o_picture.c 26 Mar 2007 19:16:11 -0000 1.6.6.6
@@ -351,7 +351,7 @@
/* Get read to check for visibility of this line by using it's
* bounding picture
*/
- world_get_picture_bounds(w_current, o_current->picture,
+ world_get_picture_bounds(w_current, o_current,
&wleft, &wtop, &wright, &wbottom);
if (!visible(w_current, wleft, wtop, wright, wbottom)) {
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs