mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +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
1 changed files with 25 additions and 0 deletions
|
@ -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 );
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue