CreateRoundRectRgn function
Creates a rectangular region with rounded corners.
Declaration
function CreateRoundRectRgn(X1: Integer; Y1: Integer; X2: Integer;
Y2: Integer; nWidthEllipse: Integer;
nHeightEllipse: Integer): HRGNArguments
X1 | |
Y1 | |
X2 | |
Y2 | |
nWidthEllipse | The extent of the ellipse, used for the rounded corners. |
nHeightEllipse | The extent of the ellipse, used for the rounded corners. |
Function result
The region Handle, zero on failure.
Description
Creates a rectangular region with rounded corners.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
