Move NtGdiAngleArc to arc.c.

svn path=/trunk/; revision=33917
This commit is contained in:
James Tabor 2008-06-10 05:25:37 +00:00
parent 4feb37f50f
commit f79680eb17
2 changed files with 32 additions and 15 deletions

View file

@ -466,6 +466,38 @@ IntGdiArcInternal(
rc1.left, rc1.top, rc1.right, rc1.bottom, arctype);
}
BOOL
APIENTRY
NtGdiAngleArc(
IN HDC hdc,
IN INT x,
IN INT y,
IN DWORD dwRadius,
IN DWORD dwStartAngle,
IN DWORD dwSweepAngle)
{
DC *dc;
BOOL Ret = FASLE;
dc = DC_LockDc (hDC);
if(!dc)
{
SetLastWin32Error(ERROR_INVALID_HANDLE);
return FALSE;
}
if (dc->DC_Type == DC_TYPE_INFO)
{
DC_UnlockDc(dc);
/* Yes, Windows really returns TRUE in this case */
return TRUE;
}
DC_UnlockDc( dc );
return Ret;
}
BOOL
STDCALL
NtGdiArcInternal(

View file

@ -375,21 +375,6 @@ IntGdiPolyPolyline(DC *dc,
/******************************************************************************/
BOOL
APIENTRY
NtGdiAngleArc(
IN HDC hdc,
IN INT x,
IN INT y,
IN DWORD dwRadius,
IN DWORD dwStartAngle,
IN DWORD dwSweepAngle)
{
UNIMPLEMENTED;
return FALSE;
}
BOOL
STDCALL
NtGdiLineTo(HDC hDC,