summaryrefslogtreecommitdiff
path: root/wingdi_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'wingdi_common.h')
-rw-r--r--wingdi_common.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/wingdi_common.h b/wingdi_common.h
new file mode 100644
index 0000000..0d2cd56
--- /dev/null
+++ b/wingdi_common.h
@@ -0,0 +1,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_ */