1 #ifndef __WIN32K_BRUSH_H
2 #define __WIN32K_BRUSH_H
4 #include <win32k/gdiobj.h>
6 /* Internal interface */
8 #define NB_HATCH_STYLES 6
10 #define BRUSHOBJ_AllocBrush() \
11 ((HBRUSH) GDIOBJ_AllocObj (sizeof (BRUSHOBJ), GDI_OBJECT_TYPE_BRUSH, NULL))
12 #define BRUSHOBJ_FreeBrush(hBrush) GDIOBJ_FreeObj((HGDIOBJ)hBrush, GDI_OBJECT_TYPE_BRUSH, GDIOBJFLAG_DEFAULT)
13 #define BRUSHOBJ_LockBrush(hBrush) ((PBRUSHOBJ)GDIOBJ_LockObj((HGDIOBJ)hBrush, GDI_OBJECT_TYPE_BRUSH))
14 #define BRUSHOBJ_UnlockBrush(hBrush) GDIOBJ_UnlockObj((HGDIOBJ)hBrush, GDI_OBJECT_TYPE_BRUSH)
18 NtGdiCreateBrushIndirect (
23 NtGdiCreateDIBPatternBrush (
29 NtGdiCreateDIBPatternBrushPt (
30 CONST VOID * PackedDIB,
35 NtGdiCreateHatchBrush (
41 NtGdiCreatePatternBrush (
46 NtGdiCreateSolidBrush (