[GDI32] Allow functions to access printing support.

Reapplying lost committed code.
This commit is contained in:
jimtabor 2019-07-27 14:15:42 -05:00
parent 4563ca28d3
commit 665871527b
5 changed files with 96 additions and 2 deletions

View file

@ -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,