CreateRoundRectRgn(3w)

CreateRoundRectRgn3w

Usage

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

Overview

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".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.