Description: Draw an ellipse in any window.
Returns: Nothing
Usage: Steady State
Purpose: This statement draws an ellipse in any window.
Format: DrawEllipticalPath(Left, Bottom, Right, Top, RotateAngle, Object)
Parameters:
Left {
numeric } { required } { no default
}
Any numeric
expression for the left side of the bounding box.
Bottom { numeric } { required } { no
default }
Any numeric
expression for the bottom side of the bounding box.
Right { numeric } { required } { no
default }
Any numeric
expression for the right side of the bounding box.
Top { numeric } { required } { no
default }
Any numeric
expression for the top side of the bounding box.
RotateAngle { numeric } { required }
{ no default }
Any
numeric expression for the angle of rotation of the ellipse in degrees. This
represents a rotation about the center of the bounding box; if it is greater
than 0, the ellipse's shape will still be defined by the proportions of the
bounding box, but will no longer be within its (un-rotated) screen
coordinates.
Object { object } { required } { no
default }
Any
expression for the object value that defines the window in which to draw the
ellipse.
Comments: This statement is intended for building drawing tools. The ellipse is drawn in white and is exclusive OR'ed onto the screen.
Example:
DrawEllipticalPath(200, 300, 640, 190
{ Bounding box for the ellipse },
65 { Rotate 65 degrees clockwise },
Self() { Draw in this module's window });
This draws a stubby, cigar-shaped ellipse in the center of the screen; it is situated in a NE-SW orientation.
See Also: