Sign in Join
FPDoc Onlineexperiment

CreateRoundRectRgn function

In unit LCLIntf

Creates a rectangular region with rounded corners.

Declaration

pascal
function CreateRoundRectRgn(X1: Integer; Y1: Integer; X2: Integer; 
 Y2: Integer; nWidthEllipse: Integer; 
 nHeightEllipse: Integer): HRGN

Arguments

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.