ImageWindow::DrawArcW
Draws a wide arc in the Image Display window
int DrawArcW (
int x,
int y,
int radius,
int start,
int end,
int witdh
);
int DrawArcW (
double x,
double y,
double radius,
double start,
double end,
double witdh,
ProcUnit *ptrProcUnit,
int imageNo
);
Parameters
x
|
X position coordinate of the center of the wide arc to be drawn (Pixel)
|
y
|
Y position coordinate of the center of the wide arc to be drawn (Pixel)
|
radius
|
Radius of the wide arc to be drawn (Pixel)
|
start
|
Start point angle of the wide arc to be drawn
|
end
|
End point angle of the wide arc to be drawn
|
witdh
|
Width of the wide arc to be drawn (Pixel)
|
*ptrProcUnit
|
Pointer to processing unit information
|
imageNo
|
Image number
|
Return Value
Returns 0 when a wide arc is successfully drawn.
Otherwise returns a non-zero value.
Description
Draws a wide arc with the specified position, radius, start/end angle, and width in the Image Display window.
Example
int Sample::MeasureDispG(ProcUnit *ptrProcUnit, int subNo, ImageWindow *ptrImageWindow)
{
// Display a wide circumference
ptrImageWindow->DrawArcW(100, 100, 50, 10, 170, 20);
// Display a wide circumference
ptrImageWindow->DrawArcW(98.5, 95.4, 48.7, 9.8, 168.2, 19.3, ptrProcUnit, 0);
}