NAME

NtGdiCreateRoundRectRgn  (WIN32U.@)

SYNOPSIS

 HRGN NtGdiCreateRoundRectRgn
 (
  INT left,
  INT top,
  INT right,
  INT bottom,
  INT ellipse_width,
  INT ellipse_height
 )

DESCRIPTION

Creates a rectangular region with rounded corners.

PARAMS

left [In] Left coordinate of rectangle.
top [In] Top coordinate of rectangle.
right [In] Right coordinate of rectangle.
bottom [In] Bottom coordinate of rectangle.
ellipse_width [In] Width of the ellipse at each corner.
ellipse_height [In] Height of the ellipse at each corner.

RETURNS

Success: Handle to region.

Failure: NULL.

NOTES

If ellipse_width or ellipse_height is less than 2 logical units then it is treated as though CreateRectRgn was called instead.

IMPLEMENTATION

Declared in "ntgdi.h". https://source.winehq.org/source/include/ntgdi.h

Implemented in "dlls/win32u/region.c". https://source.winehq.org/source/dlls/win32u/region.c

Debug channel "region".


Copyright © 2022 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2022.