ImageWindow::DrawCircleW
Draws a circumference in the Image Display window
int DrawCircleW(
int x,
int y,
int radius,
int width
);
int DrawCircleW(
double x,
double y,
double radius,
double width,
ProcUnit *ptrProcUnit,
int imageNo
);
Parameters
x
|
X position coordinate of the center of the circumference to be drawn (Pixel)
|
y
|
Y position coordinate of the center of the circumference to be drawn (Pixel)
|
radius
|
Radius of the circumference to be drawn (Pixel)
|
width
|
Width of the circumference to be drawn (Pixel)
|
*ptrProcUnit
|
Pointer to processing unit information
|
imageNo
|
Image number
|
Return Value
Returns 0 when a circumference is successfully drawn.
Otherwise returns a non-zero value.
Description
Draws a circumference with the specified position, radius and width in the Image Display window.
Example
int Sample::MeasureDispG(ProcUnit *ptrProcUnit, int subNo, ImageWindow *ptrImageWindow)
{
// Display a circumference
ptrImageWindow->DrawCircleW(100, 100, 50, 10);
// Display a circumference
ptrImageWindow->DrawCircleW(82.5, 79.4, 45.2, 8.9, ptrProcUnit, 0);
}