[ros-diffs] [jimtabor] 26444: Implement CreatePolygonRgn and partial implementation of CreatePolyPolygonRgn. Need to implement NtGdiPolyPolyDraw. It is stubbed in my tree.

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Sat Apr 21 01:50:44 CEST 2007


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/region.c?rev=26444&r1=26443&r2=26444&view=diff
==============================================================================
--- 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 );
+*/
+}
+
+




More information about the Ros-diffs mailing list