RoundRect function gdi32
Draws a rectangle with rounded corners.
The rectangle is outlined by using the current pen and filled by using the current brush.
To learn more, see learn.microsoft.com/windows/win32/api/wingdi/nf-wingdi-roundrect.
Implementation
@pragma('vm:prefer-inline')
bool RoundRect(
HDC hdc,
int left,
int top,
int right,
int bottom,
int width,
int height,
) => _RoundRect(hdc, left, top, right, bottom, width, height) != FALSE;