mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:22:59 +00:00
remove NtGdiArc, NtGdiArcTo and NtGdiChord from win32k, they are not used any longer.
svn path=/trunk/; revision=28091
This commit is contained in:
parent
2e7009f963
commit
48428871b5
3 changed files with 0 additions and 138 deletions
|
@ -149,22 +149,6 @@ IntGdiPolyPolygon(DC *dc,
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
BOOL
|
|
||||||
STDCALL
|
|
||||||
NtGdiChord(HDC hDC,
|
|
||||||
int LeftRect,
|
|
||||||
int TopRect,
|
|
||||||
int RightRect,
|
|
||||||
int BottomRect,
|
|
||||||
int XRadial1,
|
|
||||||
int YRadial1,
|
|
||||||
int XRadial2,
|
|
||||||
int YRadial2)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NtGdiEllipse
|
* NtGdiEllipse
|
||||||
*
|
*
|
||||||
|
|
|
@ -284,29 +284,6 @@ IntGdiGetArcDirection(DC *dc)
|
||||||
return dc->w.ArcDirection;
|
return dc->w.ArcDirection;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL FASTCALL
|
|
||||||
IntGdiArc(DC *dc,
|
|
||||||
int LeftRect,
|
|
||||||
int TopRect,
|
|
||||||
int RightRect,
|
|
||||||
int BottomRect,
|
|
||||||
int XStartArc,
|
|
||||||
int YStartArc,
|
|
||||||
int XEndArc,
|
|
||||||
int YEndArc)
|
|
||||||
{
|
|
||||||
if(PATH_IsPathOpen(dc->w.path))
|
|
||||||
{
|
|
||||||
return PATH_Arc(dc, LeftRect, TopRect, RightRect, BottomRect,
|
|
||||||
XStartArc, YStartArc, XEndArc, YEndArc, GdiTypeArc );
|
|
||||||
}
|
|
||||||
|
|
||||||
// FIXME
|
|
||||||
// EngArc(dc, LeftRect, TopRect, RightRect, BottomRect, UNIMPLEMENTED
|
|
||||||
// XStartArc, YStartArc, XEndArc, YEndArc);
|
|
||||||
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL FASTCALL
|
BOOL FASTCALL
|
||||||
IntGdiPolyPolyline(DC *dc,
|
IntGdiPolyPolyline(DC *dc,
|
||||||
|
@ -350,102 +327,6 @@ NtGdiAngleArc(
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL
|
|
||||||
STDCALL
|
|
||||||
NtGdiArc(HDC hDC,
|
|
||||||
int LeftRect,
|
|
||||||
int TopRect,
|
|
||||||
int RightRect,
|
|
||||||
int BottomRect,
|
|
||||||
int XStartArc,
|
|
||||||
int YStartArc,
|
|
||||||
int XEndArc,
|
|
||||||
int YEndArc)
|
|
||||||
{
|
|
||||||
DC *dc;
|
|
||||||
BOOL Ret;
|
|
||||||
|
|
||||||
dc = DC_LockDc (hDC);
|
|
||||||
if(!dc)
|
|
||||||
{
|
|
||||||
SetLastWin32Error(ERROR_INVALID_HANDLE);
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
if (dc->IsIC)
|
|
||||||
{
|
|
||||||
DC_UnlockDc(dc);
|
|
||||||
/* Yes, Windows really returns TRUE in this case */
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
Ret = IntGdiArc(dc,
|
|
||||||
LeftRect,
|
|
||||||
TopRect,
|
|
||||||
RightRect,
|
|
||||||
BottomRect,
|
|
||||||
XStartArc,
|
|
||||||
YStartArc,
|
|
||||||
XEndArc,
|
|
||||||
YEndArc);
|
|
||||||
|
|
||||||
DC_UnlockDc( dc );
|
|
||||||
return Ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL
|
|
||||||
STDCALL
|
|
||||||
NtGdiArcTo(HDC hDC,
|
|
||||||
int LeftRect,
|
|
||||||
int TopRect,
|
|
||||||
int RightRect,
|
|
||||||
int BottomRect,
|
|
||||||
int XRadial1,
|
|
||||||
int YRadial1,
|
|
||||||
int XRadial2,
|
|
||||||
int YRadial2)
|
|
||||||
{
|
|
||||||
BOOL result;
|
|
||||||
DC *dc;
|
|
||||||
|
|
||||||
dc = DC_LockDc (hDC);
|
|
||||||
if(!dc)
|
|
||||||
{
|
|
||||||
SetLastWin32Error(ERROR_INVALID_HANDLE);
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
if (dc->IsIC)
|
|
||||||
{
|
|
||||||
DC_UnlockDc(dc);
|
|
||||||
/* Yes, Windows really returns TRUE in this case */
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Line from current position to starting point of arc
|
|
||||||
if ( !IntGdiLineTo(dc, XRadial1, YRadial1) )
|
|
||||||
{
|
|
||||||
DC_UnlockDc(dc);
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
//dc = DC_LockDc(hDC);
|
|
||||||
|
|
||||||
//if(!dc) return FALSE;
|
|
||||||
|
|
||||||
// Then the arc is drawn.
|
|
||||||
result = IntGdiArc(dc, LeftRect, TopRect, RightRect, BottomRect,
|
|
||||||
XRadial1, YRadial1, XRadial2, YRadial2);
|
|
||||||
|
|
||||||
//DC_UnlockDc(dc);
|
|
||||||
|
|
||||||
// If no error occured, the current position is moved to the ending point of the arc.
|
|
||||||
if(result)
|
|
||||||
IntGdiMoveToEx(dc, XRadial2, YRadial2, NULL);
|
|
||||||
|
|
||||||
DC_UnlockDc(dc);
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
INT
|
INT
|
||||||
STDCALL
|
STDCALL
|
||||||
NtGdiGetArcDirection(HDC hDC)
|
NtGdiGetArcDirection(HDC hDC)
|
||||||
|
|
|
@ -5,13 +5,10 @@ NtGdiAddFontResource 2
|
||||||
NtGdiAlphaBlend 11
|
NtGdiAlphaBlend 11
|
||||||
NtGdiAngleArc 6
|
NtGdiAngleArc 6
|
||||||
NtGdiAnimatePalette 4
|
NtGdiAnimatePalette 4
|
||||||
NtGdiArc 9
|
|
||||||
NtGdiArcInternal 10
|
NtGdiArcInternal 10
|
||||||
NtGdiArcTo 9
|
|
||||||
NtGdiBeginPath 1
|
NtGdiBeginPath 1
|
||||||
NtGdiBitBlt 11
|
NtGdiBitBlt 11
|
||||||
NtGdiCancelDC 1
|
NtGdiCancelDC 1
|
||||||
NtGdiChord 9
|
|
||||||
NtGdiCloseEnhMetaFile 1
|
NtGdiCloseEnhMetaFile 1
|
||||||
NtGdiCloseFigure 1
|
NtGdiCloseFigure 1
|
||||||
NtGdiCloseMetaFile 1
|
NtGdiCloseMetaFile 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue