DrawEllipticalPath
(Engine-Level Function)
Deprecated. Do not use in new code.
Description: | Draw an ellipse in any window. |
Returns: | Nothing |
Usage: | Steady State only. |
Function Groups: | Graphics |
Related to: | DrawArcPath | DrawChordPath | DrawPath | DrawPiePath |
Purpose: | This statement draws an ellipse in any window. |
Format: | DrawEllipticalPath(Left, Bottom, Right, Top, RotateAngle, Object) |
Parameters: |
Left |
Required. Any numeric expression for the left side of the bounding box. |
Bottom |
Required. Any numeric expression for the bottom side of the bounding box. |
Right |
Required. Any numeric expression for the right side of the bounding box. |
Top |
Required. Any numeric expression for the top side of the bounding box. |
RotateAngle |
Required. 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 |
Required. 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.