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

gEDA-cvs: CVS update: f_image.nw



  User: cnieves 
  Date: 05/10/14 21:06:48

  Modified:    .        f_image.nw
  Log:
  Added code to export the schematic to PNG, including pictures,
  
  without using libgdgeda.
  
  
  
  
  Revision  Changes    Path
  1.9       +3 -2      eda/geda/devel/libgeda/noweb/f_image.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: f_image.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/libgeda/noweb/f_image.nw,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- f_image.nw	21 Feb 2005 03:04:43 -0000	1.8
  +++ f_image.nw	15 Oct 2005 01:06:48 -0000	1.9
  @@ -204,7 +204,6 @@
   {
   
   #ifdef HAS_LIBGDGEDA
  -
     int origin_x, origin_y, bottom, right;
     float scale=0.0;
   
  @@ -218,7 +217,6 @@
                              &origin_x, &origin_y, 
                              &right, &bottom);
   
  -
     o_image_create(width, height, color_mode);
   
     f_image_write_objects(w_current,
  @@ -228,6 +226,9 @@
   	
     o_image_write(filename);
     o_image_close();
  +#else
  +  fprintf(stderr, "f_image_write: Called this function without libgdgeda support.\n");
  +  s_log_message("f_image_write: Called this function without libgdgeda support.\n");
   #endif
   
   }