Implement CreatePolygonRgn and partial implementation of CreatePolyPolygonRgn. Need to implement NtGdiPolyPolyDraw. It is stubbed in my tree.

svn path=/trunk/; revision=26444
This commit is contained in:
James Tabor 2007-04-20 23:50:44 +00:00
parent eff89f2d9a
commit a7c2ad7021

View file

@ -21,3 +21,28 @@ GetClipRgn(
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 );
*/
}