FrameRect function user32

int FrameRect(
  1. HDC hDC,
  2. Pointer<RECT> lprc,
  3. HBRUSH hbr
)

Draws a border around the specified rectangle by using the specified brush.

The width and height of the border are always one logical unit.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-framerect.

Implementation

@pragma('vm:prefer-inline')
int FrameRect(HDC hDC, Pointer<RECT> lprc, HBRUSH hbr) =>
    _FrameRect(hDC, lprc, hbr);