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

gEDA-cvs: CVS update: o_arc_basic.c



  User: mike    
  Date: 06/12/02 21:27:14

  Modified:    .        o_arc_basic.c o_box_basic.c o_circle_basic.c
                        o_line_basic.c
  Log:
  Changes to enure that lines are drawn at least as thick as nets/pins
  
  
  
  
  Revision  Changes    Path
  1.30      +8 -1      eda/geda/gaf/libgeda/src/o_arc_basic.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_arc_basic.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/src/o_arc_basic.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -b -r1.29 -r1.30
  --- o_arc_basic.c	22 Sep 2006 18:48:07 -0000	1.29
  +++ o_arc_basic.c	3 Dec 2006 02:27:13 -0000	1.30
  @@ -867,7 +867,14 @@
     }
   #endif
     arc_width = o_current->line_width;	/* Added instead of above */
  -  if (arc_width <= 2) arc_width = 2;
  +  if(arc_width <=2) {
  +    if(w_current->line_style == THICK) {
  +      arc_width=LINE_WIDTH;
  +    } else {
  +      arc_width=2;
  +    }
  +  }
  +
     length = o_current->line_length;
     space  = o_current->line_space;
   	
  
  
  
  1.25      +8 -1      eda/geda/gaf/libgeda/src/o_box_basic.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_box_basic.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/src/o_box_basic.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -b -r1.24 -r1.25
  --- o_box_basic.c	22 Sep 2006 18:48:07 -0000	1.24
  +++ o_box_basic.c	3 Dec 2006 02:27:14 -0000	1.25
  @@ -893,7 +893,14 @@
      *  case.
      */
     line_width = o_current->line_width;
  -  if(line_width <=2) line_width=2;
  +  
  +  if(line_width <=2) {
  +    if(w_current->line_style == THICK) {
  +      line_width=LINE_WIDTH;
  +    } else {
  +      line_width=2;
  +    }
  +  }
     length = o_current->line_length;
     space  = o_current->line_space;
   
  
  
  
  1.26      +7 -1      eda/geda/gaf/libgeda/src/o_circle_basic.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_circle_basic.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/src/o_circle_basic.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -b -r1.25 -r1.26
  --- o_circle_basic.c	22 Sep 2006 18:48:07 -0000	1.25
  +++ o_circle_basic.c	3 Dec 2006 02:27:14 -0000	1.26
  @@ -830,7 +830,13 @@
      * in such a case.
      */
     circle_width = o_current->line_width;
  -  if(circle_width <= 2) circle_width=2;
  +  if(circle_width <=2) {
  +    if(w_current->line_style == THICK) {
  +      circle_width=LINE_WIDTH;
  +    } else {
  +      circle_width=2;
  +    }
  +  }
     length       = o_current->line_length;
     space        = o_current->line_space;
   
  
  
  
  1.25      +8 -1      eda/geda/gaf/libgeda/src/o_line_basic.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_line_basic.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/src/o_line_basic.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -b -r1.24 -r1.25
  --- o_line_basic.c	22 Sep 2006 18:48:07 -0000	1.24
  +++ o_line_basic.c	3 Dec 2006 02:27:14 -0000	1.25
  @@ -807,7 +807,14 @@
      * solid to avoid and endless loop produced by other functions.
      */
     line_width = o_current->line_width;
  -  if(line_width <= 2) line_width = 2;
  +  if(line_width <=2) {
  +    if(w_current->line_style == THICK) {
  +      line_width=LINE_WIDTH;
  +    } else {
  +      line_width=2;
  +    }
  +  }
  +
     length = o_current->line_length;
     space  = o_current->line_space;
     
  
  
  


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