version 1.6, 2000/11/13 00:16:34 |
version 1.8, 2002/07/10 09:33:52 |
|
|
@comment $OpenXM: OpenXM/src/asir-doc/parts/process.texi,v 1.5 2000/09/25 05:12:51 noro Exp $ |
@comment $OpenXM: OpenXM/src/asir-doc/parts/process.texi,v 1.7 2001/03/16 05:18:04 noro Exp $ |
\BJP |
\BJP |
@node $BJ,;67W;;(B,,, Top |
@node $BJ,;67W;;(B,,, Top |
@chapter $BJ,;67W;;(B |
@chapter $BJ,;67W;;(B |
Line 506 input @code{quit}. |
|
Line 506 input @code{quit}. |
|
* ox_get_serverinfo:: |
* ox_get_serverinfo:: |
* generate_port try_bind_listen try_connect try_accept register_server:: |
* generate_port try_bind_listen try_connect try_accept register_server:: |
* ifplot conplot plot plotover:: |
* ifplot conplot plot plotover:: |
* open_canvas clear_canvas draw_obj:: |
* open_canvas clear_canvas draw_obj draw_string:: |
@end menu |
@end menu |
|
|
\JP @node ox_launch ox_launch_nox ox_shutdown,,, $BJ,;67W;;$K4X$9$k4X?t(B |
\JP @node ox_launch ox_launch_nox ox_shutdown,,, $BJ,;67W;;$K4X$9$k4X?t(B |
|
|
|
|
@item |
@item |
Several operations are available on the window: by button operations |
Several operations are available on the window: by button operations |
for UNIX version, and pull-down menus for Macintosh version. |
for UNIX version, and pull-down menus for Windows version. |
|
|
@table @code |
@table @code |
@item quit |
@item quit |
Line 2188 plot*form*ydone*background:white |
|
Line 2188 plot*form*ydone*background:white |
|
@fref{ox_launch ox_launch_nox ox_shutdown}, @fref{ox_reset ox_intr register_handler} |
@fref{ox_launch ox_launch_nox ox_shutdown}, @fref{ox_reset ox_intr register_handler} |
@end table |
@end table |
|
|
\JP @node open_canvas clear_canvas draw_obj,,, $BJ,;67W;;$K4X$9$k4X?t(B |
\JP @node open_canvas clear_canvas draw_obj draw_string,,, $BJ,;67W;;$K4X$9$k4X?t(B |
\EG @node open_canvas clear_canvas draw_obj,,, Functions for distributed computation |
\EG @node open_canvas clear_canvas draw_obj draw_string,,, Functions for distributed computation |
@subsection @code{open_canvas}, @code{clear_canvas}, @code{draw_obj} |
@subsection @code{open_canvas}, @code{clear_canvas}, @code{draw_obj}, @code{draw_string} |
@findex open_canvas |
@findex open_canvas |
@findex clear_canvas |
@findex clear_canvas |
@findex draw_obj |
@findex draw_obj |
|
@findex draw_string |
|
|
@table @t |
@table @t |
@item open_canvas(@var{id}[,@var{geometry}]) |
@item open_canvas(@var{id}[,@var{geometry}]) |
Line 2205 plot*form*ydone*background:white |
|
Line 2206 plot*form*ydone*background:white |
|
@item draw_obj(@var{id},@var{index},@var{pointorsegment} [,@var{color}]) |
@item draw_obj(@var{id},@var{index},@var{pointorsegment} [,@var{color}]) |
\JP :: $B%-%c%s%P%9>e$KE@$^$?$O@~J,$rIA2h$9$k(B. |
\JP :: $B%-%c%s%P%9>e$KE@$^$?$O@~J,$rIA2h$9$k(B. |
\EG :: Draws a point or a line segment on a canvas. |
\EG :: Draws a point or a line segment on a canvas. |
|
@item draw_string(@var{id},@var{index},@var{[x,y]},@var{string} [,@var{color}]) |
|
\JP :: $B%-%c%s%P%9>e$KJ8;zNs$rIA2h$9$k(B. |
|
\EG :: Draws a character string on a canvas. |
@end table |
@end table |
|
|
@table @var |
@table @var |
@item return |
@item return |
0 |
0 |
@item id, index, color |
@item id, index, color, x, y |
\JP $B@0?t(B |
\JP $B@0?t(B |
\EG integer |
\EG integer |
@item pointorsegment |
@item pointorsegment |
\JP $B%j%9%H(B |
\JP $B%j%9%H(B |
\EG list |
\EG list |
|
@item string |
|
\JP $BJ8;zNs(B |
|
\EG character string |
@end table |
@end table |
|
|
@itemize @bullet |
@itemize @bullet |
Line 2269 and a canvas id @var{index}. |
|
Line 2276 and a canvas id @var{index}. |
|
$B$NCM(B ($B:GBg(B 255) $B$H$_$J$9(B. |
$B$NCM(B ($B:GBg(B 255) $B$H$_$J$9(B. |
\E |
\E |
\BEG |
\BEG |
@code{draw_obj_canvas} draws a point or a line segment on |
@code{draw_obj} draws a point or a line segment on |
a canvas specified by a server id @var{id} and a canvas id @var{index}. |
a canvas specified by a server id @var{id} and a canvas id @var{index}. |
If @var{pointorsegment} is @var{[x,y]}, it is regarded as a point. |
If @var{pointorsegment} is @var{[x,y]}, it is regarded as a point. |
If @var{pointorsegment} is @var{[x,y,u,v]}, it is regarded |
If @var{pointorsegment} is @var{[x,y,u,v]}, it is regarded |
Line 2278 If @var{color} is specified, @var{color/65536} mod 256 |
|
Line 2285 If @var{color} is specified, @var{color/65536} mod 256 |
|
@var{color/256} mod 256, @var{color} mod 256 are regarded as the vaules |
@var{color/256} mod 256, @var{color} mod 256 are regarded as the vaules |
of Red, Green, Blue (Max. 255) respectively. |
of Red, Green, Blue (Max. 255) respectively. |
\E |
\E |
|
@item |
|
\BJP |
|
@code{draw_string} $B$O(B, $B%5!<%P(B id @var{id}, $B%-%c%s%P%9(B id @var{index} |
|
$B$G;XDj$5$l$k%-%c%s%P%9$KJ8;zNs$rIA2h$9$k(B. $B0LCV$O(B @var{[x,y]} $B$K$h$j;XDj$9$k(B. |
|
\E |
|
\BEG |
|
@code{draw_string} draws a character string @var{string} on |
|
a canvas specified by a server id @var{id} and a canvas id @var{index}. |
|
The position of the string is specified by @var{[x,y]}. |
|
\E |
@end itemize |
@end itemize |
|
|
@example |
@example |
Line 2293 of Red, Green, Blue (Max. 255) respectively. |
|
Line 2310 of Red, Green, Blue (Max. 255) respectively. |
|
0 |
0 |
[187] draw_obj(Id,Ind,[10,10,50,50],0xff00ff); |
[187] draw_obj(Id,Ind,[10,10,50,50],0xff00ff); |
0 |
0 |
[188] clear_canvas(Id,Ind); |
[187] draw_string(Id,Ind,[100,50],"hello",0xffff00); |
|
0 |
|
[189] clear_canvas(Id,Ind); |
0 |
0 |
@end example |
@end example |
|
|