13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CreateEllipticRgnCreateEllipticRgnSyntax HRGN CreateEllipticRgn(Xl, Yl, X2, Y2)function CreateEllipticRgn(Xl, Yl, X2, Y2: Integer): HRgn;This function creates an elliptical region.Parameters Xl int Specifies the x-coordinate of the upper-left corner ofthe bounding rectangle of the ellipse.Return valueCommentsYlX2Y2int Specifies the y-coordinate of the upper-left corner ofthe bounding rectangle of the ellipse.int Specifies the x-coordinate of the lower-right corner ofthe bounding rectangle of the ellipse.int Specifies the y-coordinate of the lower-right corner ofthe bounding rectangle of the ellipse.The return value identifies a new region if the function is successful.Otherwise, it is NULL.The width of the rectangle, specified by the absolute value of X2 - Xl,must not exceed 32,767 units. This limit also applies to the height of therectangle.CreateEllipticRgnlndirectSyntaxHRGN CreateEllipticRgnIndirect{lpRect)function CreateEllipticRgnIndirect(var Rect: TRect): HRgn;This function creates an elliptical region.Parameters IpRect LPRECT Points to a RECT data structure that contains thecoordinates of the upper-left and lower-right corners ofthe bounding rectangle of the ellipse.Return valueCommentsThe return value identifies a new region if the function is successful.Otherwise, it is NULL.The width of the rectangle must not exceed 32,767 units. This limit appliesto the height of the rectangle as well.192 Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!