ClassesClassesClassesClasses | | | | Operators

draw_pointdraw_pointDrawPointdraw_pointDrawPointDrawPoint (Operator)

Name

draw_pointdraw_pointDrawPointdraw_pointDrawPointDrawPoint — Draw a point.

Signature

draw_point( : : WindowHandle : Row, Column)

Herror draw_point(const Hlong WindowHandle, double* Row, double* Column)

Herror T_draw_point(const Htuple WindowHandle, Htuple* Row, Htuple* Column)

Herror draw_point(const HTuple& WindowHandle, double* Row, double* Column)

double HWindow::DrawPoint(HTuple* Column) const

void DrawPoint(const HTuple& WindowHandle, HTuple* Row, HTuple* Column)

void HWindow::DrawPoint(double* Row, double* Column) const

void HOperatorSetX.DrawPoint(
[in] VARIANT WindowHandle, [out] VARIANT* Row, [out] VARIANT* Column)

double HWindowX.DrawPoint([out] double* Column)

static void HOperatorSet.DrawPoint(HTuple windowHandle, out HTuple row, out HTuple column)

void HWindow.DrawPoint(out double row, out double column)

Description

draw_pointdraw_pointDrawPointdraw_pointDrawPointDrawPoint 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. On OS X draw_pointdraw_pointDrawPointdraw_pointDrawPointDrawPoint can also be terminated by pressing the escape key.

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

Parallelization

Parameters

WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Window identifier.

RowRowRowRowRowrow (output_control)  point.y HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Row index of the point.

ColumnColumnColumnColumnColumncolumn (output_control)  point.x HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Column index of the point.

Example (HDevelop)

draw_point(WindowHandle,Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)

Example (C)

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

Example (HDevelop)

draw_point(WindowHandle,Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)

Example (HDevelop)

draw_point(WindowHandle,Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)

Example (HDevelop)

draw_point(WindowHandle,Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)

Example (HDevelop)

draw_point(WindowHandle,Row,Column)
gen_cross_contour_xld (Cross, Row, Column, 6, 0)

Result

draw_pointdraw_pointDrawPointdraw_pointDrawPointDrawPoint 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_windowOpenWindowopen_windowOpenWindowOpenWindow

Possible Successors

reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain, disp_linedisp_lineDispLinedisp_lineDispLineDispLine, set_coloredset_coloredSetColoredset_coloredSetColoredSetColored, set_line_widthset_line_widthSetLineWidthset_line_widthSetLineWidthSetLineWidth, set_drawset_drawSetDrawset_drawSetDrawSetDraw, set_insertset_insertSetInsertset_insertSetInsertSetInsert

See also

draw_point_moddraw_point_modDrawPointModdraw_point_modDrawPointModDrawPointMod, draw_circledraw_circleDrawCircledraw_circleDrawCircleDrawCircle, draw_ellipsedraw_ellipseDrawEllipsedraw_ellipseDrawEllipseDrawEllipse, set_insertset_insertSetInsertset_insertSetInsertSetInsert

Module

Foundation


ClassesClassesClassesClasses | | | | Operators