update for HEAD-2003091401
[reactos.git] / lib / gdi32 / objects / fillshap.c
1 #ifdef UNICODE
2 #undef UNICODE
3 #endif
4
5 #undef WIN32_LEAN_AND_MEAN
6 #include <windows.h>
7 #include <ddk/ntddk.h>
8 #include <win32k/kapi.h>
9
10 /*
11  * @implemented
12  */
13 BOOL
14 STDCALL
15 Polygon(HDC     hDC,
16         CONST POINT     *lpPoints,
17         int     nCount)
18 {
19         return NtGdiPolygon(hDC, (CONST PPOINT)lpPoints, nCount);
20 }
21
22
23 /*
24  * @implemented
25  */
26 BOOL
27 STDCALL
28 Rectangle(HDC  hDC,
29         int  LeftRect,
30         int  TopRect,
31         int  RightRect,
32         int  BottomRect)
33 {
34    return NtGdiRectangle(hDC, LeftRect, TopRect, RightRect, BottomRect);
35 }
36
37 /*
38  * @implemented
39  */
40 BOOL
41 STDCALL
42 RoundRect(
43         HDC hdc,
44         int left,
45         int top,
46         int right,
47         int bottom,
48         int width,
49         int height
50         )
51 {
52   return NtGdiRoundRect ( hdc, left, top, right, bottom, width, height );
53 }
54
55 /*
56  * @implemented
57  */
58 BOOL
59 STDCALL
60 PolyPolygon(
61         HDC             a0,
62         CONST POINT     *a1,
63         CONST INT       *a2,
64         int             a3
65         )
66 {
67         return PolyPolygon(a0,(LPPOINT)a1,(LPINT)a2,a3);
68 }
69
70
71 /*
72  * @implemented
73  */
74 BOOL
75 STDCALL
76 Ellipse(HDC hDc,
77         int Left,
78         int Top,
79         int Right,
80         int Bottom)
81 {
82   return NtGdiEllipse(hDc, Left, Top, Right, Bottom);
83 }