Fixed Unicode strings.
[wine] / include / region.h
1 /*
2  * GDI region definitions
3  *
4  * Copyright 1998 Huw Davies
5  */
6
7 #ifndef __WINE_REGION_H
8 #define __WINE_REGION_H
9
10 #include "gdi.h"
11 #include "windef.h"
12 #include "wingdi.h"
13
14 typedef struct {
15     INT size;
16     INT numRects;
17     INT type; /* NULL, SIMPLE or COMPLEX */
18     RECT *rects;
19     RECT extents;
20 } WINEREGION;
21
22   /* GDI logical region object */
23 typedef struct
24 {
25     GDIOBJHDR   header;
26     WINEREGION  *rgn;
27 } RGNOBJ;
28
29 extern BOOL REGION_DeleteObject( HRGN hrgn, RGNOBJ * obj );
30 extern BOOL REGION_UnionRectWithRgn( HRGN hrgn, const RECT *lpRect );
31 extern HRGN REGION_CropRgn( HRGN hDst, HRGN hSrc, const RECT *lpRect, const POINT *lpPt );
32 extern BOOL REGION_FrameRgn( HRGN dest, HRGN src, INT x, INT y );
33 extern BOOL REGION_LPTODP( HDC hdc, HRGN hDest, HRGN hSrc );
34
35 #endif  /* __WINE_REGION_H */
36
37