[BACK]Return to ox_plot_xevent.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / plot

Diff for /OpenXM_contrib2/asir2000/plot/ox_plot_xevent.c between version 1.25 and 1.28

version 1.25, 2005/05/18 03:27:00 version 1.28, 2007/01/30 00:28:26
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/plot/ox_plot_xevent.c,v 1.24 2004/03/01 05:48:24 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/plot/ox_plot_xevent.c,v 1.27 2006/11/09 15:54:35 saito Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 56 
Line 56 
 #include <X11/Xaw/Paned.h>  #include <X11/Xaw/Paned.h>
   
 static void Quit();  static void Quit();
   static void print_canvas(Widget w, struct canvas *can, XtPointer calldata);
   static void output_to_printer(Widget w, struct canvas *can, XtPointer calldata);
   static void print_canvas_to_file(Widget w, struct canvas *can, XtPointer calldata);
   static void printing_method(Widget w, struct canvas *can, XtPointer calldata);
   
 static Atom wm_delete_window;  static Atom wm_delete_window;
   
Line 554  struct canvas *can;
Line 558  struct canvas *can;
         int i,width,height;          int i,width,height;
         Arg arg[6];          Arg arg[6];
         char buf[BUFSIZ];          char buf[BUFSIZ];
         static void print_canvas();  
   
         width = can->width; height = can->height;          width = can->width; height = can->height;
   
Line 961  static void print_canvas(w,can,calldata)
Line 964  static void print_canvas(w,can,calldata)
   Widget entry;    Widget entry;
   int i;    int i;
   Arg arg[1];    Arg arg[1];
   static void output_to_printer();  
   static void print_canvas_to_file();  
   static void printing_method();  
   
   W = w;    W = w;
   Can = can;    Can = can;
Line 1175  static void output_to_ps_printer(w,fbutton,call) 
Line 1175  static void output_to_ps_printer(w,fbutton,call) 
 /* test sequence  /* test sequence
    ox_launch(0,"ox_plot");     ox_launch(0,"ox_plot");
    ifplot(x^2-y^3);     ifplot(x^2-y^3);
    drawcircle(0,0,100,0,0);     drawcircle(0,0,100,0xff000,0);
    */     */
 static int getColorSizeOfImageForPS(int xsize,int ysize,XImage *image,  static int getColorSizeOfImageForPS(int xsize,int ysize,XImage *image,
                                     struct xcolorForPS **tableOfxcolorForPS);                                      struct xcolorForPS **tableOfxcolorForPS);
Line 1184  static void generate_psfile(can,fp)
Line 1184  static void generate_psfile(can,fp)
          struct canvas *can;           struct canvas *can;
          FILE *fp;           FILE *fp;
 {  {
   #if 0
   int x,y;    int x,y;
   XImage *image;    XImage *image;
   int color[1];    int color[1];
Line 1208  static void generate_psfile(can,fp)
Line 1209  static void generate_psfile(can,fp)
         method_is_not_available();          method_is_not_available();
   }    }
   fflush(NULL);    fflush(NULL);
   #endif
 }  }
   
 static void method_is_not_available() {  static void method_is_not_available() {

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.28

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>