[Overview][Types][Procedures and functions][Variables][Index] Reference for unit 'LCLIntf' (#lcl)

CreateRoundRectRgn

Creates a rectangular region with rounded corners. All parameters in logical units.

Declaration

Source position: winapih.inc line 72

function CreateRoundRectRgn(

  X1: Integer;

  Y1: Integer;

  X2: Integer;

  Y2: Integer;

  nWidthEllipse: Integer;

  nHeightEllipse: Integer

):HRGN;

Arguments

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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.