ClassesClasses | | Operators

draw_point_moddraw_point_modDrawPointModDrawPointMod (Operator)

Name

draw_point_moddraw_point_modDrawPointModDrawPointMod — Draw a point.

Signature

draw_point_mod( : : WindowHandle, RowIn, ColumnIn : Row, Column)

Herror draw_point_mod(const Hlong WindowHandle, double RowIn, double ColumnIn, double* Row, double* Column)

Herror T_draw_point_mod(const Htuple WindowHandle, const Htuple RowIn, const Htuple ColumnIn, Htuple* Row, Htuple* Column)

void DrawPointMod(const HTuple& WindowHandle, const HTuple& RowIn, const HTuple& ColumnIn, HTuple* Row, HTuple* Column)

void HWindow::DrawPointMod(double RowIn, double ColumnIn, double* Row, double* Column) const

static void HOperatorSet.DrawPointMod(HTuple windowHandle, HTuple rowIn, HTuple columnIn, out HTuple row, out HTuple column)

void HWindow.DrawPointMod(double rowIn, double columnIn, out double row, out double column)

Description

draw_point_moddraw_point_modDrawPointModDrawPointModDrawPointMod 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 RowInRowInRowInRowInrowIn and ColumnInColumnInColumnInColumnIncolumnIn. While keeping the button pressed you may “drag” the point in any direction. Pressing the right mouse button terminates the procedure. On macOS draw_point_moddraw_point_modDrawPointModDrawPointModDrawPointMod can also be terminated by pressing the escape key.

After terminating the procedure the point is not visible in the window any longer.

Execution Information

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Window handle.

RowInRowInRowInRowInrowIn (input_control)  point.y HTupleHTupleHtuple (real) (double) (double) (double)

Row index of the point.

ColumnInColumnInColumnInColumnIncolumnIn (input_control)  point.x HTupleHTupleHtuple (real) (double) (double) (double)

Column index of the point.

RowRowRowRowrow (output_control)  point.y HTupleHTupleHtuple (real) (double) (double) (double)

Row index of the point.

ColumnColumnColumnColumncolumn (output_control)  point.x HTupleHTupleHtuple (real) (double) (double) (double)

Column index of the point.

Example (HDevelop)

draw_point_mod (WindowHandle, 100, 100, Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)

Example (C)

draw_point_mod (WindowHandle, 100, 100, &Row,&Column) ;
gen_cross_contour_xld (&Cross, Row, Column, 6.0, 0.0) ;

Example (HDevelop)

draw_point_mod (WindowHandle, 100, 100, Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)

Example (HDevelop)

draw_point_mod (WindowHandle, 100, 100, Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)

Example (HDevelop)

draw_point_mod (WindowHandle, 100, 100, Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)

Result

draw_point_moddraw_point_modDrawPointModDrawPointModDrawPointMod 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

open_windowopen_windowOpenWindowOpenWindowOpenWindow

Possible Successors

reduce_domainreduce_domainReduceDomainReduceDomainReduceDomain, disp_linedisp_lineDispLineDispLineDispLine, set_coloredset_coloredSetColoredSetColoredSetColored, set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth, set_drawset_drawSetDrawSetDrawSetDraw, set_insertset_insertSetInsertSetInsertSetInsert

See also

draw_pointdraw_pointDrawPointDrawPointDrawPoint, draw_circledraw_circleDrawCircleDrawCircleDrawCircle, draw_ellipsedraw_ellipseDrawEllipseDrawEllipseDrawEllipse, set_insertset_insertSetInsertSetInsertSetInsert

Module

Foundation


ClassesClasses | | Operators