blob: 5ca8b58dc4f9c21fd2130f69481965059ef6548c [file] [log] [blame]
Alexandre Julliard7cbe6571995-01-09 18:21:16 +00001/*
2 * GDI brush definitions
3 *
4 * Copyright 1994 Alexandre Julliard
5 */
6
7#ifndef __WINE_BRUSH_H
8#define __WINE_BRUSH_H
9
10#include "gdi.h"
11
Alexandre Julliard7cbe6571995-01-09 18:21:16 +000012 /* GDI logical brush object */
13typedef struct
14{
15 GDIOBJHDR header;
Alexandre Julliarda3960291999-02-26 11:11:13 +000016 LOGBRUSH logbrush;
Alexandre Julliard7cbe6571995-01-09 18:21:16 +000017} BRUSHOBJ;
18
Alexandre Julliard349a9531997-02-02 19:01:52 +000019#define NB_HATCH_STYLES 6
20
Alexandre Julliard139a4b11996-11-02 14:24:07 +000021extern INT16 BRUSH_GetObject16( BRUSHOBJ * brush, INT16 count, LPSTR buffer );
Alexandre Julliarda3960291999-02-26 11:11:13 +000022extern INT BRUSH_GetObject( BRUSHOBJ * brush, INT count, LPSTR buffer );
23extern BOOL BRUSH_DeleteObject( HBRUSH16 hbrush, BRUSHOBJ * brush );
Alexandre Julliard7cbe6571995-01-09 18:21:16 +000024
25#endif /* __WINE_BRUSH_H */