draw_point_modπ
Short descriptionπ
draw_point_mod β Draw a point.
Signatureπ
draw_point_mod( window WindowHandle, point.y RowIn, point.x ColumnIn, out point.y Row, out point.x Column )
Descriptionπ
draw_point_mod 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 RowIn and
ColumnIn.
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.
RowIn (input_control) point.y β (real)
Row index of the point.
ColumnIn (input_control) point.x β (real)
Column index of the point.
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_mod (WindowHandle, 100, 100, Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)
draw_point_mod (WindowHandle, 100, 100, &Row,&Column)\;
gen_cross_contour_xld (&Cross, Row, Column, 6.0, 0.0)\;
Resultπ
draw_point_mod 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