Operator Reference
draw_point (Operator)
draw_point
— Draw a point.
Signature
draw_point( : : WindowHandle : Row, 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
- 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)
draw_point(WindowHandle,Row,Column) gen_cross_contour_xld (Cross, Row, Column, 6, 0)
Result
draw_point
returns 2 (
H_MSG_TRUE)
, if the window is valid and the
needed drawing mode is available.
If necessary, an exception is raised.
Possible Predecessors
Possible Successors
reduce_domain
,
disp_line
,
set_colored
,
set_line_width
,
set_draw
,
set_insert
See also
draw_point_mod
,
draw_circle
,
draw_ellipse
,
set_insert
Module
Foundation