Name
draw_point_moddraw_point_modDrawPointModdraw_point_modDrawPointModDrawPointMod — Draw a point.
draw_point_moddraw_point_modDrawPointModdraw_point_modDrawPointModDrawPointMod returns the parameter for a point, which has been
created interactively by the user in the window.
To create a point are expected the coordinates RowInRowInRowInRowInRowInrowIn and
ColumnInColumnInColumnInColumnInColumnIncolumnIn.
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_point_moddraw_point_modDrawPointModdraw_point_modDrawPointModDrawPointMod 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.
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_mod(WindowHandle,Height/2,Width/2,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
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_mod(WindowHandle,Height/2,Width/2,&Row1,&Column1) ;
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1) ;
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2) ;
disp_image(Image,WindowHandle) ;
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_mod(WindowHandle,Height/2,Width/2,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
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_mod(WindowHandle,Height/2,Width/2,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
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_mod(WindowHandle,Height/2,Width/2,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
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_mod(WindowHandle,Height/2,Width/2,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
draw_point_moddraw_point_modDrawPointModdraw_point_modDrawPointModDrawPointMod 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_pointdraw_pointDrawPointdraw_pointDrawPointDrawPoint,
draw_circledraw_circleDrawCircledraw_circleDrawCircleDrawCircle,
draw_ellipsedraw_ellipseDrawEllipsedraw_ellipseDrawEllipseDrawEllipse,
set_insertset_insertSetInsertset_insertSetInsertSetInsert
Foundation