X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=lib%2Fgdi32%2Fobjects%2Ffillshap.c;h=4256ec8163e2313d41504b9c5863f3acf939a015;hb=a3df8bf1429570e0bd6c6428f6ed80073578cf4b;hp=f8192b1cbbe9caf99a74f1d5701041e993e8b9f1;hpb=7c0db166f81fbe8c8b913d7f26048e337d383605;p=reactos.git diff --git a/lib/gdi32/objects/fillshap.c b/lib/gdi32/objects/fillshap.c index f8192b1..4256ec8 100644 --- a/lib/gdi32/objects/fillshap.c +++ b/lib/gdi32/objects/fillshap.c @@ -7,15 +7,22 @@ #include #include +/* + * @implemented + */ BOOL STDCALL Polygon(HDC hDC, CONST POINT *lpPoints, int nCount) { - return W32kPolygon(hDC, (CONST PPOINT)lpPoints, nCount); + return NtGdiPolygon(hDC, (CONST PPOINT)lpPoints, nCount); } + +/* + * @implemented + */ BOOL STDCALL Rectangle(HDC hDC, @@ -24,6 +31,53 @@ Rectangle(HDC hDC, int RightRect, int BottomRect) { - return W32kRectangle(hDC, LeftRect, TopRect, RightRect, BottomRect); + return NtGdiRectangle(hDC, LeftRect, TopRect, RightRect, BottomRect); +} + +/* + * @implemented + */ +BOOL +STDCALL +RoundRect( + HDC hdc, + int left, + int top, + int right, + int bottom, + int width, + int height + ) +{ + return NtGdiRoundRect ( hdc, left, top, right, bottom, width, height ); +} + +/* + * @implemented + */ +BOOL +STDCALL +PolyPolygon( + HDC a0, + CONST POINT *a1, + CONST INT *a2, + int a3 + ) +{ + return PolyPolygon(a0,(LPPOINT)a1,(LPINT)a2,a3); } + +/* + * @implemented + */ +BOOL +STDCALL +Ellipse(HDC hDc, + int Left, + int Top, + int Right, + int Bottom) +{ + return NtGdiEllipse(hDc, Left, Top, Right, Bottom); +}