NAME

NtGdiCreateEllipticRgn  (WIN32U.@)

SYNOPSIS

 HRGN NtGdiCreateEllipticRgn
 (
  INT left,
  INT top,
  INT right,
  INT bottom
 )

DESCRIPTION

Creates an elliptical region.

PARAMS

left [In] Left coordinate of bounding rectangle.
top [In] Top coordinate of bounding rectangle.
right [In] Right coordinate of bounding rectangle.
bottom [In] Bottom coordinate of bounding rectangle.

RETURNS

Success: Handle to region.

Failure: NULL.

NOTES

This is a special case of CreateRoundRectRgn where the width of the ellipse at each corner is equal to the width the rectangle and the same for the height.

IMPLEMENTATION

Declared in "include/ntgdi.h". gitlab.winehq.org/wine/wine/blob/master/include/ntgdi.h

Implemented in "dlls/win32u/region.c". gitlab.winehq.org/wine/wine/blob/master/dlls/win32u/region.c

Debug channel "region".


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