mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
implement Arc, ArcTo, Chord, calling NtGdiArcInternal
svn path=/trunk/; revision=28069
This commit is contained in:
@@ -19,8 +19,8 @@ AddFontResourceTracking@8
|
||||
AngleArc@24
|
||||
AnimatePalette@16=NtGdiAnimatePalette@16
|
||||
AnyLinkedFonts@0
|
||||
Arc@36=NtGdiArc@36
|
||||
ArcTo@36=NtGdiArcTo@36
|
||||
Arc@36
|
||||
ArcTo@36
|
||||
BeginPath@4
|
||||
BRUSHOBJ_hGetColorTransform@4
|
||||
BRUSHOBJ_pvAllocRbrush@8
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
<file>wingl.c</file>
|
||||
</directory>
|
||||
<directory name="objects">
|
||||
<file>arc.c</file>
|
||||
<file>bitmap.c</file>
|
||||
<file>brush.c</file>
|
||||
<file>dc.c</file>
|
||||
|
||||
@@ -35,29 +35,6 @@ CancelDC(
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL
|
||||
STDCALL
|
||||
Chord(
|
||||
HDC a0,
|
||||
int a1,
|
||||
int a2,
|
||||
int a3,
|
||||
int a4,
|
||||
int a5,
|
||||
int a6,
|
||||
int a7,
|
||||
int a8
|
||||
)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
#include "precomp.h"
|
||||
|
||||
BOOL
|
||||
WINAPI
|
||||
Arc(
|
||||
HDC hDC,
|
||||
int nLeftRect,
|
||||
int nTopRect,
|
||||
int nRightRect,
|
||||
int nBottomRect,
|
||||
int nXStartArc,
|
||||
int nYStartArc,
|
||||
int nXEndArc,
|
||||
int nYEndArc
|
||||
)
|
||||
{
|
||||
return NtGdiArcInternal(GdiTypeArc,
|
||||
hDC,
|
||||
nLeftRect,
|
||||
nTopRect,
|
||||
nRightRect,
|
||||
nBottomRect,
|
||||
nXStartArc,
|
||||
nYStartArc,
|
||||
nXEndArc,
|
||||
nYEndArc);
|
||||
}
|
||||
|
||||
BOOL
|
||||
WINAPI
|
||||
ArcTo(
|
||||
HDC hDC,
|
||||
int nLeftRect,
|
||||
int nTopRect,
|
||||
int nRightRect,
|
||||
int nBottomRect,
|
||||
int nXRadial1,
|
||||
int nYRadial1,
|
||||
int nXRadial2,
|
||||
int nYRadial2)
|
||||
{
|
||||
return NtGdiArcInternal(GdiTypeArcTo,
|
||||
hDC,
|
||||
nLeftRect,
|
||||
nTopRect,
|
||||
nRightRect,
|
||||
nBottomRect,
|
||||
nXRadial1,
|
||||
nYRadial1,
|
||||
nXRadial2,
|
||||
nYRadial2);
|
||||
}
|
||||
|
||||
BOOL
|
||||
WINAPI
|
||||
Chord(
|
||||
HDC hDC,
|
||||
int nLeftRect,
|
||||
int nTopRect,
|
||||
int nRightRect,
|
||||
int nBottomRect,
|
||||
int nXRadial1,
|
||||
int nYRadial1,
|
||||
int nXRadial2,
|
||||
int nYRadial2)
|
||||
{
|
||||
return NtGdiArcInternal(GdiTypeChord,
|
||||
hDC,
|
||||
nLeftRect,
|
||||
nTopRect,
|
||||
nRightRect,
|
||||
nBottomRect,
|
||||
nXRadial1,
|
||||
nYRadial1,
|
||||
nXRadial2,
|
||||
nYRadial2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user