From 2f0ad8d685b09bb938980910cddce9c01f46f554 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Sun, 20 Jul 2003 04:00:36 +0000 Subject: [PATCH] Implemented unpluged DC code. svn path=/trunk/; revision=5177 --- reactos/lib/gdi32/misc/stubs.c | 31 +------------------------------ reactos/lib/gdi32/objects/line.c | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 30 deletions(-) diff --git a/reactos/lib/gdi32/misc/stubs.c b/reactos/lib/gdi32/misc/stubs.c index d5fdf597d54..3d20bbbebed 100644 --- a/reactos/lib/gdi32/misc/stubs.c +++ b/reactos/lib/gdi32/misc/stubs.c @@ -1,4 +1,4 @@ -/* $Id: stubs.c,v 1.25 2003/07/20 00:42:55 jimtabor Exp $ +/* $Id: stubs.c,v 1.26 2003/07/20 04:00:36 jimtabor Exp $ * * reactos/lib/gdi32/misc/stubs.c * @@ -1862,21 +1862,6 @@ SelectClipPath( } -/* - * @unimplemented - */ -int -STDCALL -SetArcDirection( - HDC hdc, - int a1 - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; -} - - /* * @unimplemented */ @@ -1968,20 +1953,6 @@ GetMiterLimit( } -/* - * @unimplemented - */ -int -STDCALL -GetArcDirection( - HDC hdc - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; -} - - /* * @unimplemented */ diff --git a/reactos/lib/gdi32/objects/line.c b/reactos/lib/gdi32/objects/line.c index db2026a04d2..211d836b3ce 100644 --- a/reactos/lib/gdi32/objects/line.c +++ b/reactos/lib/gdi32/objects/line.c @@ -8,6 +8,33 @@ #include +/* + * @implemented + */ +int +STDCALL +SetArcDirection( + HDC hdc, + int a1 + ) +{ + return W32kSetArcDirection(hdc, a1); +} + + +/* + * @implemented + */ +int +STDCALL +GetArcDirection( + HDC hdc + ) +{ + return W32kGetArcDirection(hdc); +} + + /* * @implemented */