Name
draw_pointdraw_pointDrawPointdraw_pointDrawPointDrawPoint — Draw a point.
draw_pointdraw_pointDrawPointdraw_pointDrawPointDrawPoint returns the parameter for a point, which has been
created interactively by the user in the window.
To create a point you have to press the left mouse button. While keeping
the button pressed you may “drag” the point in any direction.
Pressing the right mousebutton terminates the procedure. On Mac OS X
draw_pointdraw_pointDrawPointdraw_pointDrawPointDrawPoint can also be terminated by pressing the escape key.
After terminating the procedure the point is not visible in the window any longer.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: local (may only be called from the same thread in which the window, model, or tool instance was created).
- Processed without parallelization.
Column index of the point.
get_system('width',Width)
get_system('height',Height)
set_part(WindowHandle,0,0,Width-1,Height-1)
read_image(Image,'monkey')
disp_image(Image,WindowHandle)
draw_point(WindowHandle,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
fwrite_string(FileHandle,['Clipping = (',Row1,',',Column1,')'])
fnew_line(FileHandle)
get_system("width",Width) ;
get_system("height",Height) ;
set_part(WindowHandle,0,0,Width-1,Height-1) ;
read_image(&Image,"monkey") ;
disp_image(Image,WindowHandle) ;
draw_point(WindowHandle,&Row1,&Column1) ;
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1) ;
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2) ;
disp_image(Image,WindowHandle) ;
fwrite_string(FileHandle,"Clipping = (") ;
fwrite_string(FileHandle,Row1) ;
fwrite_string(FileHandle,",") ;
fwrite_string(FileHandle,Column1) ;
fwrite_string(FileHandle,"),(") ;
fnew_line(FileHandle) ;
get_system('width',Width)
get_system('height',Height)
set_part(WindowHandle,0,0,Width-1,Height-1)
read_image(Image,'monkey')
disp_image(Image,WindowHandle)
draw_point(WindowHandle,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
fwrite_string(FileHandle,['Clipping = (',Row1,',',Column1,')'])
fnew_line(FileHandle)
get_system('width',Width)
get_system('height',Height)
set_part(WindowHandle,0,0,Width-1,Height-1)
read_image(Image,'monkey')
disp_image(Image,WindowHandle)
draw_point(WindowHandle,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
fwrite_string(FileHandle,['Clipping = (',Row1,',',Column1,')'])
fnew_line(FileHandle)
get_system('width',Width)
get_system('height',Height)
set_part(WindowHandle,0,0,Width-1,Height-1)
read_image(Image,'monkey')
disp_image(Image,WindowHandle)
draw_point(WindowHandle,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
fwrite_string(FileHandle,['Clipping = (',Row1,',',Column1,')'])
fnew_line(FileHandle)
get_system('width',Width)
get_system('height',Height)
set_part(WindowHandle,0,0,Width-1,Height-1)
read_image(Image,'monkey')
disp_image(Image,WindowHandle)
draw_point(WindowHandle,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
fwrite_string(FileHandle,['Clipping = (',Row1,',',Column1,')'])
fnew_line(FileHandle)
draw_pointdraw_pointDrawPointdraw_pointDrawPointDrawPoint returns 2 (H_MSG_TRUE), if the window is valid and the
needed drawing mode is available.
If necessary, an exception is raised.
open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow
reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain,
disp_linedisp_lineDispLinedisp_lineDispLineDispLine,
set_coloredset_coloredSetColoredset_coloredSetColoredSetColored,
set_line_widthset_line_widthSetLineWidthset_line_widthSetLineWidthSetLineWidth,
set_drawset_drawSetDrawset_drawSetDrawSetDraw,
set_insertset_insertSetInsertset_insertSetInsertSetInsert
draw_point_moddraw_point_modDrawPointModdraw_point_modDrawPointModDrawPointMod,
draw_circledraw_circleDrawCircledraw_circleDrawCircleDrawCircle,
draw_ellipsedraw_ellipseDrawEllipsedraw_ellipseDrawEllipseDrawEllipse,
set_insertset_insertSetInsertset_insertSetInsertSetInsert
Foundation