Author: jimtabor
Date: Sat Apr 21 03:50:44 2007
New Revision: 26444
URL:
http://svn.reactos.org/svn/reactos?rev=26444&view=rev
Log:
Implement CreatePolygonRgn and partial implementation of CreatePolyPolygonRgn. Need to
implement NtGdiPolyPolyDraw. It is stubbed in my tree.
Modified:
trunk/reactos/dll/win32/gdi32/objects/region.c
Modified: trunk/reactos/dll/win32/gdi32/objects/region.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/re…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/region.c (original)
+++ trunk/reactos/dll/win32/gdi32/objects/region.c Sat Apr 21 03:50:44 2007
@@ -21,3 +21,28 @@
else return 0;
}
+
+HRGN
+WINAPI
+CreatePolygonRgn( const POINT* Point, int Count, int Mode)
+{
+ return CreatePolyPolygonRgn(Point, (const INT*)&Count, 1, Mode);
+}
+
+
+HRGN
+WINAPI
+CreatePolyPolygonRgn( const POINT* Point,
+ const INT* Count,
+ int inPolygons,
+ int Mode)
+{
+/* return (HRGN) NtGdiPolyPolyDraw( (HDC) Mode,
+ (PPOINT) Point,
+ (PULONG) Count,
+ (ULONG) inPolygons,
+ GdiPolyPolyRgn );
+*/
+}
+
+