Sign in Join
FPDoc Onlineexperiment

TWidgetSet.CreateRoundRectRgn function

Member of TWidgetSetpublicIn unit InterfaceBase

Creates a rectangular region with rounded corners.

Declaration

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

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

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.