Intrinsic-123 DrawEllipse

Intrinsic-123 DrawEllipse

Top  Previous  Next

123: DrawEllipse(Handle, X1, Y1, X2, Y2);

 

This draws an ellipse on the image specified by Handle. The ellipse is drawn within the rectangle defined by X1,Y1,X2 and Y2. The parameters X1 and Y1 specify the upper-left corner of the rectangle, and X2, Y2 specify the lower-right corner of the rectangle. If the rectangle specifies a square, a circle is drawn. The color and width of the line that circumscribes the ellipse are specified using the SetPen intrinsic. The center of the ellipse may be filled with any color or be empty depending on the values passed to the SetFill intrinsic. (If you are working with the Console (handle=-1), controlling Screen Refresh can speed up this intrinsic. See the Console Refresh section for more information.)