From 8d2d328ceddfec8c4d6bcb971de49bd1fc592645 Mon Sep 17 00:00:00 2001 From: Richard Campbell Date: Sat, 10 Jan 2004 02:10:27 +0000 Subject: [PATCH] Moved (Ext)FloodFill to fillshap.c and have it call NtGdi(Ext)FloodFill svn path=/trunk/; revision=7540 --- reactos/lib/gdi32/objects/fillshap.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/reactos/lib/gdi32/objects/fillshap.c b/reactos/lib/gdi32/objects/fillshap.c index a2a33f0a245..c363db050ca 100644 --- a/reactos/lib/gdi32/objects/fillshap.c +++ b/reactos/lib/gdi32/objects/fillshap.c @@ -101,3 +101,30 @@ Pie(HDC hDc, return NtGdiPie(hDc, Left, Top, Right, Bottom, XRadialStart, YRadialStart, XRadialEnd, YRadialEnd); } + +BOOL STDCALL +ExtFloodFill( + HDC hdc, // handle to DC + int nXStart, // starting x-coordinate + int nYStart, // starting y-coordinate + COLORREF crColor, // fill color + UINT fuFillType // fill type +) +{ + return NtGdiExtFloodFill( hdc, nXStart, nYStart, crColor, fuFillType ); +} + +/* + * @implemented + */ +BOOL STDCALL +FloodFill( + HDC hdc, // handle to DC + int nXStart, // starting x-coordinate + int nYStart, // starting y-coordinate + COLORREF crFill // fill color +) +{ + return NtGdiFloodFill(hdc,nXStart, nYStart, crFill ); +} +