d2d1_1.h: Added new file.

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5918 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/d2d1_1helper.h b/mingw-w64-headers/include/d2d1_1helper.h
new file mode 100644
index 0000000..63c28ec
--- /dev/null
+++ b/mingw-w64-headers/include/d2d1_1helper.h
@@ -0,0 +1,23 @@
+/**
+ * This file has no copyright assigned and is placed in the Public Domain.
+ * This file is part of the mingw-w64 runtime package.
+ * No warranty is given; refer to the file DISCLAIMER.PD within this package.
+ */
+
+#ifndef _D2D1_1HELPER_H_
+#define _D2D1_1HELPER_H_
+
+#ifndef D2D_USE_C_DEFINITIONS
+
+namespace D2D1 {
+
+    D2D1FORCEINLINE D2D1_VECTOR_2F Vector2F(FLOAT x = 0.0f, FLOAT y = 0.0f) {
+        D2D1_VECTOR_2F r = {x, y};
+        return r;
+    }
+
+}
+
+#endif /* D2D_USE_C_DEFINITIONS */
+
+#endif /* _D2D1_1HELPER_H_ */