Win32Prn() > Print output methods xHarbour Developers Network  

oWin32Prn:ellipse()

Prints an ellipse.

Syntax

:ellipse( <nX1>, <nY1>, <nX2>, <nY2> ) --> lSuccess

Arguments

<nX1> and <nY1>
These two numeric values are the X and Y coordinates of the upper-left corner of a rectangle surrounding the ellipse.
<nX2> and <nY2>
These two numeric values are the X and Y coordinates of the lower-right corner of a rectangle surrounding the ellipse.

Description

Method :ellipse() accepts the coordinates of a bounding rectangle and draws an ellipse inside the rectangle using the current pen. The pen must be selected previously with method :setPen().

The method returns a logical value indicating success of the operation.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe