pltIDrawControl DrawFilledEllipse

Draws a filled ellipse.

Syntax

pltIDrawControl_handle DrawFilledEllipseulx, uly, lrx, lry, color

Application

HyperWorks Tcl Modify

Description

Returns 0 = HW_Success or 3 = HW_InvalidHandle.

Inputs

ulx
X-coordinate of the upper left point of a rectangle into which the ellipse is inscribed.
uly
Y-coordinate of the upper left point of a rectangle into which the ellipse is inscribed.
lrx
X-coordinate of the lower right point of a rectangle into which the ellipse is inscribed.
lry
Y-coordinate of the lower right point of a rectangle into which the ellipse is inscribed.
color
The index of the color to be used (must be non-negative).

Example

To draw an ellipse from (-.5, 1) to (.5, -1) with a color index of 2:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName
myPageName GetWindowHandle myWindowName
myWindowName GetClientHandle myPlotName
myPlotName GetDrawControlHandle myDrawer
myDrawer DrawFilledEllipse -.5 1 .5 -1 2

Errors

None.