32-bit clipboard support.
[wine/multimedia.git] / include / dc.h
blob74eadcdeb9e8ae8755a8922f077e7c1b37e83073
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( HDC32 hdc );
19 extern void DC_InitDC( DC * dc );
20 extern BOOL32 DC_SetupGCForPatBlt( DC * dc, GC gc, BOOL32 fMapColors );
21 extern BOOL32 DC_SetupGCForBrush( DC * dc );
22 extern BOOL32 DC_SetupGCForPen( DC * dc );
23 extern BOOL32 DC_SetupGCForText( DC * dc );
24 extern void DC_UpdateXforms( DC * dc );
26 extern const int DC_XROPfunction[];
28 /* objects/clipping.c */
29 INT32 CLIPPING_IntersectClipRect( DC * dc, INT32 left, INT32 top,
30 INT32 right, INT32 bottom, UINT32 flags );
31 INT32 CLIPPING_IntersectVisRect( DC * dc, INT32 left, INT32 top,
32 INT32 right, INT32 bottom, BOOL32 exclude );
33 extern void CLIPPING_UpdateGCRegion( DC * dc );
35 #endif /* __WINE_DC_H */