This patch initializes the return buffer used in GetPrinterDriverA to
[wine.git] / include / region.h
blob48a125bb1f4df897dbbb3c6781b10e0f89ae56a6
1 /*
2 * GDI region definitions
4 * Copyright 1998 Huw Davies
5 */
7 #ifndef __WINE_REGION_H
8 #define __WINE_REGION_H
10 #include "wingdi.h"
11 #include "gdi.h"
13 typedef struct {
14 INT size;
15 INT numRects;
16 INT type; /* NULL, SIMPLE or COMPLEX */
17 RECT *rects;
18 RECT extents;
19 } WINEREGION;
21 /* GDI logical region object */
22 typedef struct
24 GDIOBJHDR header;
25 WINEREGION *rgn;
26 } RGNOBJ;
28 extern BOOL REGION_DeleteObject( HRGN hrgn, RGNOBJ * obj );
29 extern BOOL REGION_UnionRectWithRgn( HRGN hrgn, const RECT *lpRect );
30 extern HRGN REGION_CropRgn( HRGN hDst, HRGN hSrc, const RECT *lpRect, const POINT *lpPt );
31 extern BOOL REGION_FrameRgn( HRGN dest, HRGN src, INT x, INT y );
32 extern BOOL REGION_LPTODP( HDC hdc, HRGN hDest, HRGN hSrc );
34 #endif /* __WINE_REGION_H */