.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH CreateHatchBrush 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBCreateHatchBrush\fR (GDI32.@) .SH SYNOPSIS HBRUSH CreateHatchBrush ( INT \fIstyle\fR, COLORREF \fIcolor\fR ) .SH DESCRIPTION .PP Create a logical brush with a hatched pattern. .SH PARAMS \fIstyle\fR \fB[In]\fR Direction of lines for the hatch pattern (\fBHS_\fR* values from \fB"wingdi.h"\fR). .PP \fIcolor\fR \fB[In]\fR Colour of the hatched pattern. .PP .SH RETURNS .PP A handle to the created brush, or a \fBNULL\fR handle if the brush cannot be created. .SH NOTES .PP \fB-\fR This function uses \fBCreateBrushIndirect(3w)\fR to create the brush. .PP \fB-\fR The brush returned should be freed by the caller using \fBDeleteObject(3w)\fR when it is no longer required. .SH IMPLEMENTATION .PP Declared in \fB"gdiplusflat.h"\fR. .PP Implemented in \fB"dlls/gdi32/brush.c"\fR. .PP Debug channel \fB"gdi"\fR.