Go to the first, previous, next, last section, table of contents.


open_canvas, clear_canvas, draw_obj

open_canvas(id[,geometry])
:: Opens a canvas, which is a window for drawing objects.
clear_canvas(id,index)
:: Clears a canvas.
draw_obj(id,index,pointorsegment [,color])
:: Draws a point or a line segment on a canvas.
return
0
id, index, color
integer
pointorsegment
list
[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
[188] clear_canvas(Id,Ind);
0
References
section ox_launch, ox_launch_nox, ox_shutdown, section ox_reset,ox_intr,register_handler, section ox_pop_cmo, ox_pop_local.


Go to the first, previous, next, last section, table of contents.