Scroll to navigation

CreateRoundRectRgn(3w) Wine API CreateRoundRectRgn(3w)

NAME

CreateRoundRectRgn (GDI32.@)

SYNOPSIS

HRGN CreateRoundRectRgn
(
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(3w) was called instead.
 

IMPLEMENTATION

Declared in "wingdi.h".
Implemented in "dlls/gdi32/region.c".
Debug channel "region".
Oct 2012 Wine API