draw_pointπ
Short descriptionπ
draw_point β Draw a point.
Signatureπ
draw_point( window WindowHandle, out point.y Row, out point.x Column )
Descriptionπ
draw_point 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 mouse button terminates the procedure.
After terminating the procedure the point is not visible in the window any longer.
Attentionπ
If used in a buffer window, mouse events have to be supplied by the application, while the draw operator must be run in another thread.
Execution informationπ
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parametersπ
WindowHandle (input_control) window β (handle)
Window handle.
Row (output_control) point.y β (real)
Row index of the point.
Column (output_control) point.x β (real)
Column index of the point.
Exampleπ
(HDevelop)
Resultπ
draw_point returns 2 (H_MSG_TRUE) if the window is valid.
If necessary, an exception is raised.
Combinations with other operatorsπ
Combinations
Possible predecessors
Possible successors
reduce_domain, disp_line, set_colored, set_line_width, set_draw
See also
Moduleπ
Foundation