[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.5.16 open_canvas, clear_canvas, draw_obj, draw_string

open_canvas(id[,geometry])
:: 描画用ウィンドウ (キャンバス) を生成する.
clear_canvas(id,index)
:: キャンバスをクリアする.
draw_obj(id,index,pointorsegment [,color])
:: キャンバス上に点または線分を描画する.
draw_string(id,index,[x,y],string [,color])
:: キャンバス上に文字列を描画する.

return
0
id index color x y
整数
pointorsegment
リスト
string
文字列

 
[182] Id=ox_launch_nox(0,"ox_plot");
0
[183] open_canvas(Id);
0
[184] Ind=ox_pop_cmo(Id);
0
[185] draw_obj(Id,Ind,[100,100]);
0
[186] draw_obj(Id,Ind,[200,200],0xffff);
0
[187] draw_obj(Id,Ind,[10,10,50,50],0xff00ff);
0
[187] draw_string(Id,Ind,[100,50],"hello",0xffff00);
0
[189] clear_canvas(Id,Ind);
0

参照
7.5.1 ox_launch, ox_launch_nox, ox_shutdown, 7.5.6 ox_reset,ox_intr,register_handler, 7.5.8 ox_pop_cmo, ox_pop_local.


This document was generated by root on March, 5 2004 using texi2html