ImageWindow::DrawPoint

Draws a point in the Image Display window

int DrawPoint(
   int  x,
   int  y
);

int DrawPoint(
   double       x,
   double       y,
   ProcUnit     *ptrProcUnit,
   int  imageNo
);

Parameters
x
X position coordinate of the point to be drawn (Pixel)
y
Y position coordinate of the point to be drawn (Pixel)
*ptrProcUnit
Pointer to processing unit information
imageNo
Image number

Return Value
Returns 0 when a point is successfully drawn.
Otherwise returns a non-zero value.

Description
Draws a point at the specified position in the Image Display window.

Example
    int Sample::MeasureDispG(ProcUnit *ptrProcUnit, int subNo, ImageWindow *ptrImageWindow)
    {

        // Display a point

        ptrImageWindow->DrawPoint(100, 200);

        // Display a point

        ptrImageWindow->DrawPoint(95.5, 210.2, ptrProcUnit, 0);
    }