ImageWindow::DrawSEllipse
Draws a tilted ellipse in the Image Display window
int DrawSEllipse(
int x,
int y,
int radiusX,
int radiusY,
int inclination
);
Parameters
x
|
X position coordinate of the center of the tilted ellipse to be drawn (Pixel)
|
y
|
Y position coordinate of the center of the tilted ellipse to be drawn (Pixel)
|
radiusX
|
Radius of the tilted ellipse to be drawn (Pixel) in the X direction
|
radiusY
|
Radius of the tilted ellipse to be drawn (Pixel) in the Y direction
|
inclination
|
Tilt of the tilted ellipse to be drawn
|
Return Value
Returns 0 when a tilted ellipse is successfully drawn.
Otherwise returns a non-zero value.
Description
Draws a tilted ellipse with the specified position, radius, and tilt in the Image Display window.
Example
int Sample::MeasureDispG(ProcUnit *ptrProcUnit, int subNo, ImageWindow *ptrImageWindow)
{
// Display a tilted ellipse
ptrImageWindow->DrawSEllipse(100, 100, 50, 30, 25);
}