CreateHatchBrush function gdi32

HBRUSH CreateHatchBrush(
  1. HATCH_BRUSH_STYLE iHatch,
  2. COLORREF color
)

Creates a logical brush that has the specified hatch pattern and color.

To learn more, see learn.microsoft.com/windows/win32/api/wingdi/nf-wingdi-createhatchbrush.

Implementation

@pragma('vm:prefer-inline')
HBRUSH CreateHatchBrush(HATCH_BRUSH_STYLE iHatch, COLORREF color) =>
    HBRUSH(_CreateHatchBrush(iHatch, color));