Added Win16 variants of existing Win32 functions.
diff --git a/graphics/path.c b/graphics/path.c
index 147a921..b7023bf 100644
--- a/graphics/path.c
+++ b/graphics/path.c
@@ -299,6 +299,13 @@
}
}
+/***********************************************************************
+ * PathToRegion16 (GDI.518)
+ */
+HRGN16 WINAPI PathToRegion16(HDC16 hdc)
+{
+ return (HRGN16) PathToRegion((HDC) hdc);
+}
/***********************************************************************
* PathToRegion32 (GDI32.261)
@@ -337,6 +344,13 @@
return hrgnRval;
}
+/***********************************************************************
+ * FillPath16 (GDI.515)
+ */
+BOOL16 WINAPI FillPath16(HDC16 hdc)
+{
+ return (BOOL16) FillPath((HDC) hdc);
+}
/***********************************************************************
* FillPath32 (GDI32.100)
@@ -424,6 +438,13 @@
}
}
+/***********************************************************************
+ * SelectClipPath16 (GDI.519)
+ */
+BOOL16 WINAPI SelectClipPath16(HDC16 hdc, INT16 iMode)
+{
+ return (BOOL16) SelectClipPath((HDC) hdc, iMode);
+}
/***********************************************************************
* SelectClipPath32 (GDI32.296)
@@ -1126,6 +1147,16 @@
}
/*******************************************************************
+ * FlattenPath16 [GDI.516]
+ *
+ *
+ */
+BOOL16 WINAPI FlattenPath16(HDC16 hdc)
+{
+ return (BOOL16) FlattenPath((HDC) hdc);
+}
+
+/*******************************************************************
* FlattenPath32 [GDI32.103]
*
*
@@ -1137,6 +1168,16 @@
}
/*******************************************************************
+ * StrokeAndFillPath16 [GDI.520]
+ *
+ *
+ */
+BOOL16 WINAPI StrokeAndFillPath16(HDC16 hdc)
+{
+ return (BOOL16) StrokeAndFillPath((HDC) hdc);
+}
+
+/*******************************************************************
* StrokeAndFillPath [GDI32.352]
*
*
@@ -1148,6 +1189,16 @@
}
/*******************************************************************
+ * StrokePath16 [GDI.521]
+ *
+ *
+ */
+BOOL16 WINAPI StrokePath16(HDC16 hdc)
+{
+ return (BOOL16) StrokePath((HDC) hdc);
+}
+
+/*******************************************************************
* StrokePath [GDI32.353]
*
*
@@ -1159,6 +1210,16 @@
}
/*******************************************************************
+ * WidenPath16 [GDI.522]
+ *
+ *
+ */
+BOOL16 WINAPI WidenPath16(HDC16 hdc)
+{
+ return (BOOL16) WidenPath((HDC) hdc);
+}
+
+/*******************************************************************
* WidenPath [GDI32.360]
*
*