Converted a lot of server requests to the new exception handling
[wine] / include / dc.h
1 /*
2  * GDI Device Context function prototypes
3  *
4  * Copyright 1994 Alexandre Julliard
5  *
6  */
7
8 #ifndef __WINE_DC_H
9 #define __WINE_DC_H
10
11 #include "gdi.h"
12
13 #define CLIP_INTERSECT  0x0001
14 #define CLIP_EXCLUDE    0x0002
15 #define CLIP_KEEPRGN    0x0004
16
17 extern DC * DC_AllocDC( const DC_FUNCTIONS *funcs );
18 extern DC * DC_GetDCPtr( HDC hdc );
19 extern DC * DC_GetDCUpdate( HDC hdc );
20 extern void DC_InitDC( DC * dc );
21 extern void DC_UpdateXforms( DC * dc );
22
23
24 /* objects/clipping.c */
25 INT CLIPPING_IntersectClipRect( DC * dc, INT left, INT top,
26     INT right, INT bottom, UINT flags );
27 INT CLIPPING_IntersectVisRect( DC * dc, INT left, INT top,
28     INT right, INT bottom, BOOL exclude );
29 extern void CLIPPING_UpdateGCRegion( DC * dc );
30
31 #endif /* __WINE_DC_H */