draw_point_modT_draw_point_modDrawPointModDrawPointModdraw_point_mod (算子名称)
名称
draw_point_modT_draw_point_modDrawPointModDrawPointModdraw_point_mod — Draw a point.
参数签名
描述
draw_point_moddraw_point_modDrawPointModDrawPointModDrawPointModdraw_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 RowInRowInRowInRowInrowInrow_in and
ColumnInColumnInColumnInColumnIncolumnIncolumn_in.
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.
注意
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.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
RowInRowInRowInRowInrowInrow_in (input_control) point.y → HTuplefloatHTupleHtuple (real) (double) (double) (double)
Row index of the point.
ColumnInColumnInColumnInColumnIncolumnIncolumn_in (input_control) point.x → HTuplefloatHTupleHtuple (real) (double) (double) (double)
Column index of the point.
RowRowRowRowrowrow (output_control) point.y → HTuplefloatHTupleHtuple (real) (double) (double) (double)
Row index of the point.
ColumnColumnColumnColumncolumncolumn (output_control) point.x → HTuplefloatHTupleHtuple (real) (double) (double) (double)
Column index of the point.
例程 (HDevelop)
draw_point_mod (WindowHandle, 100, 100, Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)
例程 (C)
draw_point_mod (WindowHandle, 100, 100, &Row,&Column);
gen_cross_contour_xld (&Cross, Row, Column, 6.0, 0.0);
例程 (HDevelop)
draw_point_mod (WindowHandle, 100, 100, Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)
例程 (HDevelop)
draw_point_mod (WindowHandle, 100, 100, Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)
例程 (HDevelop)
draw_point_mod (WindowHandle, 100, 100, Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)
结果
draw_point_moddraw_point_modDrawPointModDrawPointModDrawPointModdraw_point_mod returns 2 (
H_MSG_TRUE)
, if the window is valid and the
needed drawing mode is available.
如有必要,将引发异常。
可能的前置算子
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window
可能的后置算子
reduce_domainreduce_domainReduceDomainReduceDomainReduceDomainreduce_domain,
disp_linedisp_lineDispLineDispLineDispLinedisp_line,
set_coloredset_coloredSetColoredSetColoredSetColoredset_colored,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width,
set_drawset_drawSetDrawSetDrawSetDrawset_draw,
set_insertset_insertSetInsertSetInsertSetInsertset_insert
参考其它
draw_pointdraw_pointDrawPointDrawPointDrawPointdraw_point,
draw_circledraw_circleDrawCircleDrawCircleDrawCircledraw_circle,
draw_ellipsedraw_ellipseDrawEllipseDrawEllipseDrawEllipsedraw_ellipse,
set_insertset_insertSetInsertSetInsertSetInsertset_insert
模块
Foundation