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

gEDA-cvs: gaf.git: branch: master updated (1.5.1-20081221-100-gec83993)



The branch, master has been updated
       via  ec83993b811eefd66d873f4c0f861f9cc6d9aebb (commit)
      from  ac4c8346638aa2e789d93ca4d621a8522681b57e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/src/o_arc.c     |    4 ----
 gschem/src/o_box.c     |    6 ------
 gschem/src/o_circle.c  |    8 --------
 gschem/src/o_path.c    |    6 ------
 gschem/src/o_picture.c |    7 -------
 5 files changed, 0 insertions(+), 31 deletions(-)


=================
 Commit Messages
=================

commit ec83993b811eefd66d873f4c0f861f9cc6d9aebb
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Thu Jan 1 13:51:03 2009 +0000

    gschem: Remove retrival of unused bounds during drawing

:100644 100644 155718c... 6211106... M	gschem/src/o_arc.c
:100644 100644 3108aaa... 68f3881... M	gschem/src/o_box.c
:100644 100644 a049155... 330c9a8... M	gschem/src/o_circle.c
:100644 100644 15d6d73... 03ace7a... M	gschem/src/o_path.c
:100644 100644 3dd7033... c371acc... M	gschem/src/o_picture.c

=========
 Changes
=========

commit ec83993b811eefd66d873f4c0f861f9cc6d9aebb
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Thu Jan 1 13:51:03 2009 +0000

    gschem: Remove retrival of unused bounds during drawing

diff --git a/gschem/src/o_arc.c b/gschem/src/o_arc.c
index 155718c..6211106 100644
--- a/gschem/src/o_arc.c
+++ b/gschem/src/o_arc.c
@@ -44,7 +44,6 @@
 void o_arc_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
 {
   TOPLEVEL *toplevel = w_current->toplevel;
-  int wleft, wright, wtop, wbottom;
   int x, y, radius;
   int line_width;
   COLOR *color;
@@ -54,9 +53,6 @@ void o_arc_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
     return;
   }
 
-  world_get_single_object_bounds(toplevel, o_current,
-                                 &wleft, &wtop, &wright, &wbottom);
-
   if (toplevel->DONT_REDRAW == 1)
     return;
 
diff --git a/gschem/src/o_box.c b/gschem/src/o_box.c
index 3108aaa..68f3881 100644
--- a/gschem/src/o_box.c
+++ b/gschem/src/o_box.c
@@ -57,7 +57,6 @@ typedef void (*FILL_FUNC)( GdkDrawable *w, GdkGC *gc, COLOR *color,
 void o_box_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
 {
   TOPLEVEL *toplevel = w_current->toplevel;
-  int wleft, wright, wtop, wbottom; /* world bounds */
   int s_upper_x, s_upper_y, s_lower_x, s_lower_y;
   int line_width, length, space;
   int fill_width, angle1, pitch1, angle2, pitch2;
@@ -68,11 +67,6 @@ void o_box_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
     return;
   }
 
-	/* Get read to check for visibility of this line by using it's
-	 * bounding box */
-  world_get_single_object_bounds(toplevel, o_current,
-                                 &wleft, &wtop, &wright, &wbottom);
-	
   if (toplevel->DONT_REDRAW == 1)
     return;
 	
diff --git a/gschem/src/o_circle.c b/gschem/src/o_circle.c
index a049155..330c9a8 100644
--- a/gschem/src/o_circle.c
+++ b/gschem/src/o_circle.c
@@ -49,7 +49,6 @@ typedef void (*FILL_FUNC)( GdkDrawable *w, GdkGC *gc, COLOR *color,
 void o_circle_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
 {
   TOPLEVEL *toplevel = w_current->toplevel;
-  int wleft, wright, wtop, wbottom; /* world bounds */
   int s_x, s_y;
   int radius;
   int line_width, length, space;
@@ -61,13 +60,6 @@ void o_circle_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
     return;
   }
 
-  /*
-   * Get read to check for visibility of this line by using it's
-   * bounding box
-   */
-  world_get_single_object_bounds(toplevel, o_current,
-                                 &wleft, &wtop, &wright, &wbottom);
-	
   if (toplevel->DONT_REDRAW == 1)
     return;
 	
diff --git a/gschem/src/o_path.c b/gschem/src/o_path.c
index 15d6d73..03ace7a 100644
--- a/gschem/src/o_path.c
+++ b/gschem/src/o_path.c
@@ -288,7 +288,6 @@ void o_path_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
 {
   TOPLEVEL *toplevel = w_current->toplevel;
   PATH *path = o_current->path;
-  int wleft, wtop, wright, wbottom;
   int line_width, length, space;
   int fill_width, angle1, pitch1, angle2, pitch2;
   FILL_FUNC fill_func;
@@ -305,11 +304,6 @@ void o_path_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
     return;
   }
 
-  /* Get read to check for visibility of this line by using it's
-   * bounding box */
-  world_get_single_object_bounds(toplevel, o_current,
-                                 &wleft, &wtop, &wright, &wbottom);
-
   if (toplevel->DONT_REDRAW == 1)
     return;
 
diff --git a/gschem/src/o_picture.c b/gschem/src/o_picture.c
index 3dd7033..c371acc 100644
--- a/gschem/src/o_picture.c
+++ b/gschem/src/o_picture.c
@@ -315,19 +315,12 @@ void o_picture_draw_rubber (GSCHEM_TOPLEVEL *w_current)
 void o_picture_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
 {
   TOPLEVEL *toplevel = w_current->toplevel;
-  int wleft, wright, wtop, wbottom; /* world bounds */
   int s_upper_x, s_upper_y, s_lower_x, s_lower_y;
 
   if (o_current->picture == NULL) {
     return;
   }
 
-  /* Get read to check for visibility of this line by using it's
-   * bounding picture
-   */
-  world_get_single_object_bounds(toplevel, o_current,
-                                 &wleft, &wtop, &wright, &wbottom);
-	
   WORLDtoSCREEN( toplevel, o_current->picture->upper_x, o_current->picture->upper_y,
                  &s_upper_x, &s_upper_y );
   WORLDtoSCREEN( toplevel, o_current->picture->lower_x, o_current->picture->lower_y,




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs