summaryrefslogtreecommitdiff
path: root/wingdi_common.h
blob: 0d2cd56242c4df46b14532dfda98c20dc1bd8812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef _GDI_COMMON_H_
#define _GDI_COMMON_H_

#include <winapi/wintypes.h>

typedef uint	COLORREF;
typedef unsigned short	COLOR16;
typedef int		FXPT16DOT16;
typedef int		FXPT2DOT30;


typedef struct tagPOINT {
	int	x;
	int	y;
} POINT, *PPOINT, *NPPOINT, *LPPOINT;

typedef struct _POINTL {
	int	x;
	int	y;
} POINTL, *PPOINTL, *NPPOINTL, *LPPOINTL;

typedef struct tagPOINTS {
	int	x;
	int	y;
} POINTS, *PPOINTS, *NPPOINTS, *LPPOINTS;

typedef struct tagSIZE {
	int	cx;
	int	cy;
} SIZE, *PSIZE, *LPSIZE;

typedef struct _SIZEL {
	int	cx;
	int	cy;
} SIZEL, *PSIZEL, *LPSIZEL;

typedef struct tagRECT {
	int		left;
	int		top;
	int		right;
	int		bottom;
} RECT, *PRECT, *NPRECT, *LPRECT;

#endif /* _GDI_COMMON_H_ */