version 1.26, 2005/07/03 13:11:28 |
version 1.28, 2007/01/30 00:28:26 |
|
|
* 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.25 2005/05/18 03:27:00 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 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() { |