[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: o_arc.c
User: pcjc2
Date: 07/02/25 09:37:39
Modified: . Tag: noscreen o_arc.c o_basic.c o_box.c o_bus.c
o_circle.c o_complex.c o_line.c o_net.c o_picture.c
o_pin.c o_text.c
Log:
Remove calls to o_..._recalc() or equivelant from drawing routines.
Revision Changes Path
No revision
No revision
1.26.2.3 +0 -10 eda/geda/gaf/gschem/src/o_arc.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_arc.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_arc.c,v
retrieving revision 1.26.2.2
retrieving revision 1.26.2.3
diff -u -b -r1.26.2.2 -r1.26.2.3
--- o_arc.c 12 Feb 2007 02:19:38 -0000 1.26.2.2
+++ o_arc.c 25 Feb 2007 14:37:38 -0000 1.26.2.3
@@ -69,16 +69,6 @@
return;
}
- /*
- * The function now recalculates the OBJECT as an arc. It involves
- * calculating every single dimensions according to the zoom factor
- * and position, dots.
- * It also recalculates the bounding box of the object and check
- * whether this object is visible or not. If not there is no reason
- * to draw it !
- */
- o_arc_recalc(w_current, o_current);
-
world_get_arc_bounds(w_current, o_current,
&wleft, &wtop, &wright, &wbottom);
1.22.4.3 +0 -4 eda/geda/gaf/gschem/src/o_basic.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_basic.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_basic.c,v
retrieving revision 1.22.4.2
retrieving revision 1.22.4.3
diff -u -b -r1.22.4.2 -r1.22.4.3
--- o_basic.c 25 Feb 2007 13:41:24 -0000 1.22.4.2
+++ o_basic.c 25 Feb 2007 14:37:38 -0000 1.22.4.3
@@ -106,10 +106,6 @@
x_repaint_background(w_current);
}
- o_recalc_object_list(w_current, w_current->page_current->object_head);
- /* Uncomment this when using the complex_place_list for moving and copying */
- /* o_recalc_object_glist(w_current, w_current->page_current->complex_place_list); */
-
draw_selected = !(w_current->inside_action &&
((w_current->event_state == MOVE) ||
(w_current->event_state == ENDMOVE)));
1.24.2.4 +0 -9 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.3
retrieving revision 1.24.2.4
diff -u -b -r1.24.2.3 -r1.24.2.4
--- o_box.c 24 Feb 2007 13:07:37 -0000 1.24.2.3
+++ o_box.c 25 Feb 2007 14:37:38 -0000 1.24.2.4
@@ -67,15 +67,6 @@
return;
}
- /*
- * The function now recalculates the OBJECT as a box. It involves
- * calculating every single dimensions according to the zoom factor
- * the position, @dots{}. It also recalculates the bounding box of the
- * object and check whether this object is visible or not. If not there
- * is no reason to draw it!
- */
- o_box_recalc(w_current, o_current);
-
/* Get read to check for visibility of this line by using it's
* bounding box */
world_get_box_bounds(w_current, o_current->box,
1.21.6.4 +0 -2 eda/geda/gaf/gschem/src/o_bus.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_bus.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_bus.c,v
retrieving revision 1.21.6.3
retrieving revision 1.21.6.4
diff -u -b -r1.21.6.3 -r1.21.6.4
--- o_bus.c 12 Feb 2007 02:19:38 -0000 1.21.6.3
+++ o_bus.c 25 Feb 2007 14:37:38 -0000 1.21.6.4
@@ -47,8 +47,6 @@
return;
}
- o_bus_recalc(w_current, o_current);
-
/* reuse line's routine */
if ( (w_current->DONT_REDRAW == 1) ||
(!o_line_visible(w_current, o_current->line, &x1, &y1, &x2, &y2)) ) {
1.22.2.3 +1 -10 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.2
retrieving revision 1.22.2.3
diff -u -b -r1.22.2.2 -r1.22.2.3
--- o_circle.c 12 Feb 2007 02:19:38 -0000 1.22.2.2
+++ o_circle.c 25 Feb 2007 14:37:38 -0000 1.22.2.3
@@ -65,15 +65,6 @@
}
/*
- * The function now recalculates the OBJECT as a circle. It involves
- * calculating every single dimensions according to the zoom factor,
- * the position, @dots{}.
- * It also recalculates the bounding box of the object and check whether
- * this object is visible or not. If not there is no reason to draw it !
- */
- o_circle_recalc(w_current, o_current);
-
- /*
* Get read to check for visibility of this line by using it's
* bounding box
*/
1.28.6.7 +0 -10 eda/geda/gaf/gschem/src/o_complex.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_complex.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_complex.c,v
retrieving revision 1.28.6.6
retrieving revision 1.28.6.7
diff -u -b -r1.28.6.6 -r1.28.6.7
--- o_complex.c 25 Feb 2007 13:41:24 -0000 1.28.6.6
+++ o_complex.c 25 Feb 2007 14:37:38 -0000 1.28.6.7
@@ -40,8 +40,6 @@
*/
void o_complex_draw(TOPLEVEL *w_current, OBJECT *o_current)
{
- int left, right, top, bottom;
-
g_return_if_fail (o_current != NULL);
g_return_if_fail (o_current->complex != NULL);
g_return_if_fail (o_current->complex->prim_objs != NULL);
@@ -49,14 +47,6 @@
if (!w_current->DONT_REDRAW) {
o_redraw(w_current, o_current->complex->prim_objs, TRUE);
}
-
- world_get_object_list_bounds(w_current, o_current->complex->prim_objs,
- &left, &top, &right, &bottom);
- o_current->w_left = left;
- o_current->w_top = top;
- o_current->w_right = right;
- o_current->w_bottom = bottom;
-
}
/*! \todo Finish function documentation!!!
1.23.2.3 +0 -10 eda/geda/gaf/gschem/src/o_line.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_line.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_line.c,v
retrieving revision 1.23.2.2
retrieving revision 1.23.2.3
diff -u -b -r1.23.2.2 -r1.23.2.3
--- o_line.c 12 Feb 2007 02:19:38 -0000 1.23.2.2
+++ o_line.c 25 Feb 2007 14:37:38 -0000 1.23.2.3
@@ -55,16 +55,6 @@
return;
}
- /*
- * The function now recalculates the OBJECT as a line. It involves
- * calculating every single dimensions according to the zoom factor
- * and position, @dots{}
- * It also recalculates the bounding box of the object and check whether
- * this object is visible or not. If not there is no reason to draw it !
- */
- /* goes before visible, clipfixme */
- o_line_recalc(w_current, o_current);
-
if ( (w_current->DONT_REDRAW == 1) ||
(!o_line_visible(w_current, o_current->line, &x1, &y1, &x2, &y2)) ) {
return;
1.29.6.4 +0 -2 eda/geda/gaf/gschem/src/o_net.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_net.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_net.c,v
retrieving revision 1.29.6.3
retrieving revision 1.29.6.4
diff -u -b -r1.29.6.3 -r1.29.6.4
--- o_net.c 12 Feb 2007 02:19:38 -0000 1.29.6.3
+++ o_net.c 25 Feb 2007 14:37:38 -0000 1.29.6.4
@@ -53,8 +53,6 @@
return;
}
- o_net_recalc(w_current, o_current);
-
/* reuse line's routine */
if ( (w_current->DONT_REDRAW == 1) ||
(!o_line_visible(w_current, o_current->line, &x1, &y1, &x2, &y2)) ) {
1.6.6.5 +0 -10 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.4
retrieving revision 1.6.6.5
diff -u -b -r1.6.6.4 -r1.6.6.5
--- o_picture.c 12 Feb 2007 02:19:38 -0000 1.6.6.4
+++ o_picture.c 25 Feb 2007 14:37:39 -0000 1.6.6.5
@@ -348,16 +348,6 @@
return;
}
- /*
- * The function now recalculates the OBJECT as a picture. It involves
- * calculating every single dimensions according to the zoom factor the
- * position, @dots{}.
- * It also recalculates the bounding picture of the object and check
- * whether this object is visible or not. If not there is no reason to
- * draw it !
- */
- o_picture_recalc(w_current, o_current);
-
/* Get read to check for visibility of this line by using it's
* bounding picture
*/
1.24.6.2 +0 -2 eda/geda/gaf/gschem/src/o_pin.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_pin.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_pin.c,v
retrieving revision 1.24.6.1
retrieving revision 1.24.6.2
diff -u -b -r1.24.6.1 -r1.24.6.2
--- o_pin.c 12 Feb 2007 02:19:38 -0000 1.24.6.1
+++ o_pin.c 25 Feb 2007 14:37:39 -0000 1.24.6.2
@@ -45,8 +45,6 @@
return;
}
- o_pin_recalc(w_current, o_current);
-
/* reuse line's routine */
if ( (w_current->DONT_REDRAW == 1) ||
(!o_line_visible(w_current, o_current->line, &x1, &y1, &x2, &y2)) ) {
1.25.2.5 +0 -2 eda/geda/gaf/gschem/src/o_text.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_text.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_text.c,v
retrieving revision 1.25.2.4
retrieving revision 1.25.2.5
diff -u -b -r1.25.2.4 -r1.25.2.5
--- o_text.c 25 Feb 2007 13:41:24 -0000 1.25.2.4
+++ o_text.c 25 Feb 2007 14:37:39 -0000 1.25.2.5
@@ -88,8 +88,6 @@
o_text_recreate(w_current, o_current);
}
- o_text_recalc(w_current, o_current);
-
/* text is too small so go through and draw a rectangle in
it's place */
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs