mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:02:59 +00:00
Move NtGdiAngleArc to arc.c.
svn path=/trunk/; revision=33917
This commit is contained in:
parent
4feb37f50f
commit
f79680eb17
2 changed files with 32 additions and 15 deletions
|
@ -466,6 +466,38 @@ IntGdiArcInternal(
|
||||||
rc1.left, rc1.top, rc1.right, rc1.bottom, arctype);
|
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
|
BOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
NtGdiArcInternal(
|
NtGdiArcInternal(
|
||||||
|
|
|
@ -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
|
BOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
NtGdiLineTo(HDC hDC,
|
NtGdiLineTo(HDC hDC,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue