Yet another attempt at fixing CW_USEDEFAULT handling.
[wine.git] / include / dc.h
blob95903e02bf1287b2fe8dbbb93ef1b64188da413b
1 /*
2 * GDI Device Context function prototypes
4 * Copyright 1994 Alexandre Julliard
6 */
8 #ifndef __WINE_DC_H
9 #define __WINE_DC_H
11 #include "gdi.h"
13 #define CLIP_INTERSECT 0x0001
14 #define CLIP_EXCLUDE 0x0002
15 #define CLIP_KEEPRGN 0x0004
17 extern DC * DC_AllocDC( const DC_FUNCTIONS *funcs );
18 extern DC * DC_GetDCPtr( HDC hdc );
19 extern void DC_InitDC( DC * dc );
20 extern void DC_UpdateXforms( DC * dc );
23 /* objects/clipping.c */
24 INT CLIPPING_IntersectClipRect( DC * dc, INT left, INT top,
25 INT right, INT bottom, UINT flags );
26 INT CLIPPING_IntersectVisRect( DC * dc, INT left, INT top,
27 INT right, INT bottom, BOOL exclude );
28 extern void CLIPPING_UpdateGCRegion( DC * dc );
30 #endif /* __WINE_DC_H */