mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 01:13:38 +00:00
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:
parent
eff89f2d9a
commit
a7c2ad7021
|
@ -21,3 +21,28 @@ GetClipRgn(
|
||||||
else return 0;
|
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 );
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue