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), GO_BRUSH_MAGIC))
12 #define BRUSHOBJ_FreeBrush(hBrush) GDIOBJ_FreeObj((HGDIOBJ)hBrush, GO_BRUSH_MAGIC)
13 /*#define BRUSHOBJ_HandleToPtr(hBrush) \
14 ((PBRUSHOBJ) GDIOBJ_HandleToPtr ((HGDIOBJ) hBrush, GO_BRUSH_MAGIC))
15 #define BRUSHOBJ_PtrToHandle(pBrushObj) \
16 ((HBRUSH) GDIOBJ_PtrToHandle ((PGDIOBJ) pBrushObj, GO_BRUSH_MAGIC))
18 #define BRUSHOBJ_LockBrush(hBrush) ((PBRUSHOBJ)GDIOBJ_LockObj((HGDIOBJ)hBrush, GO_BRUSH_MAGIC))
19 #define BRUSHOBJ_UnlockBrush(hBrush) GDIOBJ_UnlockObj((HGDIOBJ)hBrush, GO_BRUSH_MAGIC)
23 W32kCreateBrushIndirect (
28 W32kCreateDIBPatternBrush (
34 W32kCreateDIBPatternBrushPt (
35 CONST VOID
* PackedDIB
,
40 W32kCreateHatchBrush (
46 W32kCreatePatternBrush (
51 W32kCreateSolidBrush (