version 1.15, 2002/08/02 08:59:48 |
version 1.17, 2005/05/18 03:27:00 |
|
|
* 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/plotf.c,v 1.14 2002/08/02 05:39:22 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/plot/plotf.c,v 1.16 2002/10/02 01:38:04 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 65 struct ftab plot_tab[] = { |
|
Line 65 struct ftab plot_tab[] = { |
|
{"conplot",Pconplot,-8}, |
{"conplot",Pconplot,-8}, |
{"plot",Pplot,-6}, |
{"plot",Pplot,-6}, |
{"polarplot",Ppolarplot,-6}, |
{"polarplot",Ppolarplot,-6}, |
{"plotover",Pplotover,3}, |
{"plotover",Pplotover,-4}, |
{"drawcircle",Pdrawcircle,5}, |
{"drawcircle",Pdrawcircle,5}, |
{"open_canvas",Popen_canvas,-3}, |
{"open_canvas",Popen_canvas,-3}, |
{"clear_canvas",Pclear_canvas,2}, |
{"clear_canvas",Pclear_canvas,2}, |
Line 77 struct ftab plot_tab[] = { |
|
Line 77 struct ftab plot_tab[] = { |
|
{0,0,0}, |
{0,0,0}, |
}; |
}; |
|
|
void Popen_canvas(NODE arg,Obj *rp) |
void Popen_canvas(NODE arg,Q *rp) |
{ |
{ |
Q w300,s_id; |
Q w300,s_id; |
LIST geom; |
LIST geom; |
Line 116 void Popen_canvas(NODE arg,Obj *rp) |
|
Line 116 void Popen_canvas(NODE arg,Obj *rp) |
|
MKSTR(fname,"open_canvas"); |
MKSTR(fname,"open_canvas"); |
arg = mknode(4,s_id,fname,geom,wname); |
arg = mknode(4,s_id,fname,geom,wname); |
Pox_cmo_rpc(arg,rp); |
Pox_cmo_rpc(arg,rp); |
|
*rp = s_id; |
} |
} |
|
|
void Pifplot(NODE arg,Q *rp) |
void Pifplot(NODE arg,Q *rp) |
Line 626 void Pplotover(NODE arg,Q *rp) |
|
Line 627 void Pplotover(NODE arg,Q *rp) |
|
s_id = (Q)ARG1(arg); |
s_id = (Q)ARG1(arg); |
index = (Q)ARG2(arg); |
index = (Q)ARG2(arg); |
MKSTR(fname,"plotover"); |
MKSTR(fname,"plotover"); |
arg = mknode(4,s_id,fname,index,poly); |
if ( argc(arg) == 4 ) |
|
arg = mknode(5,s_id,fname,index,poly,(Q)ARG3(arg)); |
|
else |
|
arg = mknode(4,s_id,fname,index,poly); |
Pox_rpc(arg,&t); |
Pox_rpc(arg,&t); |
*rp = s_id; |
*rp = s_id; |
} |
} |