mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
37 lines
805 B
C
37 lines
805 B
C
/*
|
|
* GDI region definitions
|
|
*
|
|
* Copyright 1998 Huw Davies
|
|
*/
|
|
|
|
#ifndef __WINE_REGION_H
|
|
#define __WINE_REGION_H
|
|
|
|
#include "gdi.h"
|
|
#include "windef.h"
|
|
#include "wingdi.h"
|
|
|
|
typedef struct {
|
|
INT size;
|
|
INT numRects;
|
|
INT type; /* NULL, SIMPLE or COMPLEX */
|
|
RECT *rects;
|
|
RECT extents;
|
|
} WINEREGION;
|
|
|
|
/* GDI logical region object */
|
|
typedef struct
|
|
{
|
|
GDIOBJHDR header;
|
|
WINEREGION *rgn;
|
|
} RGNOBJ;
|
|
|
|
extern BOOL REGION_DeleteObject( HRGN hrgn, RGNOBJ * obj );
|
|
extern BOOL REGION_UnionRectWithRgn( HRGN hrgn, const RECT *lpRect );
|
|
extern HRGN REGION_CropRgn( HRGN hDst, HRGN hSrc, const RECT *lpRect, const POINT *lpPt );
|
|
extern BOOL REGION_FrameRgn( HRGN dest, HRGN src, INT x, INT y );
|
|
extern BOOL REGION_LPTODP( HDC hdc, HRGN hDest, HRGN hSrc );
|
|
|
|
#endif /* __WINE_REGION_H */
|
|
|
|
|