update for HEAD-2003091401
[reactos.git] / lib / gdi32 / objects / fillshap.c
index f8192b1..4256ec8 100644 (file)
@@ -7,15 +7,22 @@
 #include <ddk/ntddk.h>
 #include <win32k/kapi.h>
 
+/*
+ * @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);
+}