mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 10:01:43 +00:00
[GDI32] Allow functions to access printing support.
Reapplying lost committed code.
This commit is contained in:
parent
4563ca28d3
commit
665871527b
5 changed files with 96 additions and 2 deletions
|
@ -26,6 +26,8 @@ Arc(
|
|||
xEndArc,
|
||||
yEndArc);
|
||||
|
||||
if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
|
||||
|
||||
return NtGdiArcInternal(GdiTypeArc,
|
||||
hdc,
|
||||
xLeft,
|
||||
|
@ -62,6 +64,8 @@ AngleArc(
|
|||
RCAST(DWORD, eStartAngle),
|
||||
RCAST(DWORD, eSweepAngle));
|
||||
|
||||
if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
|
||||
|
||||
return NtGdiAngleArc(hdc,
|
||||
x,
|
||||
y,
|
||||
|
@ -96,6 +100,8 @@ ArcTo(
|
|||
xRadial2,
|
||||
yRadial2);
|
||||
|
||||
if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
|
||||
|
||||
return NtGdiArcInternal(GdiTypeArcTo,
|
||||
hdc,
|
||||
xLeft,
|
||||
|
@ -134,6 +140,8 @@ Chord(
|
|||
xRadial2,
|
||||
yRadial2);
|
||||
|
||||
if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
|
||||
|
||||
return NtGdiArcInternal(GdiTypeChord,
|
||||
hdc,
|
||||
xLeft,
|
||||
|
@ -176,6 +184,8 @@ Pie(
|
|||
xRadial2,
|
||||
yRadial2);
|
||||
|
||||
if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
|
||||
|
||||
return NtGdiArcInternal(GdiTypePie,
|
||||
hdc,
|
||||
xLeft,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue