create_elliptic_region


handle create_elliptic_region(int left,
                            int top,
                            int right,
                            int bottom)

This function creates a region formed from an upright ellipse.

Parameters

int left

The x-coordinate of the upper-left corner of the rectangle containing the ellipse.

int top

The y-coordinate of the upper-left corner of the rectangle containing the ellipse.

int right

The x-coordinate of the lower-right corner of the rectangle containing the ellipse.

int bottom

The y-coordinate of the lower-right corner of the rectangle containing the ellipse.

Return

handle

The handle of the new region or null if an error occurred.

Notes

The coordinates of the rectangle are logical coordinates.

The specified rectangle completely defines the inscribed ellipse.