31 SURFACE *BitmapDest, *BitmapSrc;
32 RECTL DestRect, SourceRect;
38 if (WidthDest < 0 || HeightDest < 0 || WidthSrc < 0 || HeightSrc < 0)
44 if ((hDCDest ==
NULL) || (hDCSrc ==
NULL))
50 TRACE(
"Locking DCs\n");
55 WARN(
"Invalid dc handle (dest=0x%p, src=0x%p) passed to NtGdiAlphaBlend\n", hDCDest, hDCSrc);
70 DestRect.
left = XOriginDest;
71 DestRect.
top = YOriginDest;
72 DestRect.
right = XOriginDest + WidthDest;
73 DestRect.
bottom = YOriginDest + HeightDest;
76 DestRect.
left += DCDest->ptlDCOrig.x;
77 DestRect.
top += DCDest->ptlDCOrig.y;
78 DestRect.
right += DCDest->ptlDCOrig.x;
79 DestRect.
bottom += DCDest->ptlDCOrig.y;
86 SourceRect.
left = XOriginSrc;
87 SourceRect.
top = YOriginSrc;
88 SourceRect.
right = XOriginSrc + WidthSrc;
89 SourceRect.
bottom = YOriginSrc + HeightSrc;
92 SourceRect.
left += DCSrc->ptlDCOrig.x;
93 SourceRect.
top += DCSrc->ptlDCOrig.y;
94 SourceRect.
right += DCSrc->ptlDCOrig.x;
95 SourceRect.
bottom += DCSrc->ptlDCOrig.y;
97 if (!DestRect.
right ||
108 TRACE(
"Preparing DCs for blit\n");
112 BitmapDest = DCDest->dclevel.pSurface;
119 BitmapSrc = DCSrc->dclevel.pSurface;
130 TRACE(
"Performing the alpha blend\n");
141 TRACE(
"Finishing blit\n");
218 ULONG TransparentColor = 0;
228 TRACE(
"Locking DCs\n");
233 WARN(
"Invalid dc handle (dest=0x%p, src=0x%p) passed to NtGdiAlphaBlend\n",
hdcDst,
hdcSrc);
254 rcDest.
left += DCDest->ptlDCOrig.x;
255 rcDest.
top += DCDest->ptlDCOrig.y;
256 rcDest.
right += DCDest->ptlDCOrig.x;
257 rcDest.
bottom += DCDest->ptlDCOrig.y;
265 rcSrc.
left += DCSrc->ptlDCOrig.x;
266 rcSrc.
top += DCSrc->ptlDCOrig.y;
267 rcSrc.
right += DCSrc->ptlDCOrig.x;
268 rcSrc.
bottom += DCSrc->ptlDCOrig.y;
278 BitmapDest = DCDest->dclevel.pSurface;
284 BitmapSrc = DCSrc->dclevel.pSurface;
298 (
CLIPOBJ *)&DCDest->co, &exlo.
xlo, &rcDest, &rcSrc,
299 TransparentColor, 0);
333 RECTL DestRect, SourceRect;
334 POINTL SourcePoint, MaskPoint;
338 BOOL UsesSource, UsesPattern;
351 if (!
hdcSrc && (UsesSource || UsesPattern))
359 if (psurfMask ==
NULL)
384 TRACE(
"Locking DCs\n");
389 WARN(
"Invalid dc handle (dest=0x%p, src=0x%p) passed to NtGdiMaskBlt\n", hdcDest,
hdcSrc);
401 WARN(
"Invalid destination dc handle (0x%p) passed to NtGdiMaskBlt\n", hdcDest);
429 pdcattr = DCDest->pdcattr;
431 DestRect.
left = nXDest;
432 DestRect.
top = nYDest;
433 DestRect.
right = nXDest + nWidth;
434 DestRect.
bottom = nYDest + nHeight;
437 DestRect.
left += DCDest->ptlDCOrig.x;
438 DestRect.
top += DCDest->ptlDCOrig.y;
439 DestRect.
right += DCDest->ptlDCOrig.x;
440 DestRect.
bottom += DCDest->ptlDCOrig.y;
447 SourcePoint.
x = nXSrc;
448 SourcePoint.
y = nYSrc;
454 SourcePoint.
x += DCSrc->ptlDCOrig.x;
455 SourcePoint.
y += DCSrc->ptlDCOrig.y;
457 SourceRect.
left = SourcePoint.
x;
458 SourceRect.
top = SourcePoint.
y;
466 SourceRect.
right = 0;
477 BitmapDest = DCDest->dclevel.pSurface;
483 BitmapSrc = DCSrc->dclevel.pSurface;
489 XlateObj = &exlo.
xlo;
492 TRACE(
"DestRect: (%d,%d)-(%d,%d) and SourcePoint is (%d,%d)\n",
494 SourcePoint.
x, SourcePoint.
y);
496 TRACE(
"nWidth is '%d' and nHeight is '%d'.\n", nWidth, nHeight);
499 if ((DestRect.
left > DestRect.
right) && (nWidth < 0))
501 SourcePoint.
x += nWidth;
506 if ((DestRect.
top > DestRect.
bottom) && (nHeight < 0))
508 SourcePoint.
y += nHeight;
518 psurfMask ? &psurfMask->SurfObj :
NULL,
524 &DCDest->eboFill.BrushObject,
525 &DCDest->dclevel.pbrFill->ptOrigin,
560 FIXME(
"NtGdiPlgBlt: unimplemented.\n");
601 BOOL Case0000, Case0101, Case1010, CaseExcept;
608 if (0 == WidthDest || 0 == HeightDest || 0 == WidthSrc || 0 == HeightSrc)
614 if (!hDCDest || (UsesSource && !hDCSrc) || (UsesMask && !hDCMask))
621 ahDC[1] = UsesSource ? hDCSrc :
NULL;
622 ahDC[2] = UsesMask ? hDCMask :
NULL;
625 WARN(
"Invalid dc handle (dest=0x%p, src=0x%p) passed to GreStretchBltMask\n", hDCDest, hDCSrc);
655 Case0000 = ((WidthDest < 0) && (HeightDest < 0) && (WidthSrc < 0) && (HeightSrc < 0));
656 Case0101 = ((WidthDest < 0) && (HeightDest > 0) && (WidthSrc < 0) && (HeightSrc > 0));
657 Case1010 = ((WidthDest > 0) && (HeightDest < 0) && (WidthSrc > 0) && (HeightSrc < 0));
658 CaseExcept = (Case0000 || Case0101 || Case1010);
660 pdcattr = DCDest->pdcattr;
662 DestRect.
left = XOriginDest;
663 DestRect.
top = YOriginDest;
664 DestRect.
right = XOriginDest+WidthDest;
665 DestRect.
bottom = YOriginDest+HeightDest;
668 if ((WidthDest < 0) && !CaseExcept)
673 if ((HeightDest < 0) && !CaseExcept)
681 DestRect.
left += DCDest->ptlDCOrig.x;
682 DestRect.
top += DCDest->ptlDCOrig.y;
683 DestRect.
right += DCDest->ptlDCOrig.x;
684 DestRect.
bottom += DCDest->ptlDCOrig.y;
691 SourceRect.
left = XOriginSrc;
692 SourceRect.
top = YOriginSrc;
693 SourceRect.
right = XOriginSrc+WidthSrc;
694 SourceRect.
bottom = YOriginSrc+HeightSrc;
697 if ((WidthSrc < 0) && !CaseExcept)
702 if ((HeightSrc < 0) && !CaseExcept)
712 SourceRect.left += DCSrc->ptlDCOrig.x;
713 SourceRect.top += DCSrc->ptlDCOrig.y;
714 SourceRect.right += DCSrc->ptlDCOrig.x;
715 SourceRect.bottom += DCSrc->ptlDCOrig.y;
728 BitmapDest = DCDest->dclevel.pSurface;
729 if (BitmapDest ==
NULL)
733 BitmapSrc = DCSrc->dclevel.pSurface;
734 if (BitmapSrc ==
NULL)
739 XlateObj = &exlo.
xlo;
743 BrushOrigin.
x += DCDest->ptlDCOrig.x;
744 BrushOrigin.
y += DCDest->ptlDCOrig.y;
747 if (BitmapSrc && DCMask)
749 BitmapMask = DCMask->dclevel.pSurface;
754 WARN(
"%dx%d mask is smaller than %dx%d bitmap\n",
756 WidthSrc, HeightSrc);
761 MaskPoint.
x = XOriginMask;
762 MaskPoint.
y = YOriginMask;
764 MaskPoint.
x += DCMask->ptlDCOrig.x;
765 MaskPoint.
y += DCMask->ptlDCOrig.y;
768 TRACE(
"Calling IntEngStrethBlt SourceRect: (%d,%d)-(%d,%d) and DestRect: (%d,%d)-(%d,%d).\n",
781 BitmapMask ? &MaskPoint :
NULL,
782 &DCDest->eboFill.BrushObject,
834 MAKEROP4(dwRop3 & 0xFF0000, dwRop3),
869 DestRect.
left = XLeft;
875 DestRect.
right = XLeft;
880 DestRect.
top = YLeft;
891 DestRect.
left += pdc->ptlDCOrig.x;
892 DestRect.
top += pdc->ptlDCOrig.y;
893 DestRect.
right += pdc->ptlDCOrig.x;
894 DestRect.
bottom += pdc->ptlDCOrig.y;
902 BrushOrigin.
x = pbrush->ptOrigin.x + pdc->ptlDCOrig.x + XLeft;
903 BrushOrigin.
y = pbrush->ptOrigin.y + pdc->ptlDCOrig.y + YLeft;
905 BrushOrigin.
x = pbrush->ptOrigin.x + pdc->ptlDCOrig.x;
906 BrushOrigin.
y = pbrush->ptOrigin.y + pdc->ptlDCOrig.y;
911 psurf = pdc->dclevel.pSurface;
957 for (
i = 0;
i < cRects;
i++)
1002 dwRop =
MAKEROP4(dwRop & 0xFF0000, dwRop);
1020 if (pdc->dclevel.pSurface ==
NULL)
1120 if (pdc->dclevel.pSurface ==
NULL)
1127 if (prgnClip ==
NULL)
1170 bResult =
IntEngBitBlt(&pdc->dclevel.pSurface->SurfObj,
1206 if (pdc->dclevel.pSurface ==
NULL)
1212 if (prgnClip ==
NULL)
1252 mix = rop2Fg | (pdc->pdcattr->jBkMode ==
OPAQUE ? rop2Fg :
R2_NOP) << 8;
1258 if (pbrFill !=
NULL)
1272 pbo = &pdc->eboFill.BrushObject;
1276 bRet =
IntEngPaint(&pdc->dclevel.pSurface->SurfObj,
1279 &pdc->pdcattr->ptlBrushOrigin,
1315 ERR(
"Failed to lock hdc %p\n",
hdc);
1320 if (pdc->dclevel.pSurface ==
NULL)
1330 ERR(
"Failed to lock hrgn %p\n",
hrgn);
1337 if (pbrFill ==
NULL)
1339 ERR(
"Failed to lock hbrush %p\n",
hbrush);
1369 if (hrgnFrame ==
NULL)
1399 if (pdc->dclevel.pSurface ==
NULL)
1436 ULONG iOldColor, iSolidColor;
1451 if (pdc->dclevel.pSurface ==
NULL)
1466 rcDst.
left += pdc->ptlDCOrig.x;
1467 rcDst.
top += pdc->ptlDCOrig.y;
1468 rcDst.
right += pdc->ptlDCOrig.x;
1469 rcDst.
bottom += pdc->ptlDCOrig.y;
1478 pebo = &pdc->eboText;
1484 ulDirty = pdc->pdcattr->ulDirty_;
1485 pdc->pdcattr->ulDirty_ &= ~DIRTY_TEXT;
1492 pdc->pdcattr->ulDirty_ = ulDirty;
1497 pdc->dclevel.pSurface->ppal,
1500 pdc->pdcattr->crBackgroundClr,
1501 pdc->pdcattr->crForegroundClr);
1513 return bResult ? crColor : -1;
1538 if (pdc->dclevel.pSurface ==
NULL)
1550 ptlSrc.
x += pdc->ptlDCOrig.x;
1551 ptlSrc.
y += pdc->ptlDCOrig.y;
1562 psurfSrc = pdc->dclevel.pSurface;
1583 RECTL rclDest = {0, 0, 1, 1};
1591 RGB(0xff,0xff,0xff),
1609 ulRGBColor &= 0x00FFFFFF;
#define DBG_DEFAULT_CHANNEL(ch)
FORCEINLINE PMATRIX DC_pmxWorldToDevice(PDC pdc)
static BOOLEAN IntLPtoDP(DC *pdc, PPOINTL ppt, UINT count)
VOID FASTCALL DC_vPrepareDCsForBlit(PDC pdcDest, const RECT *rcDest, PDC pdcSrc, const RECT *rcSrc)
VOID FASTCALL DC_vFinishBlit(PDC pdc1, PDC pdc2)
FORCEINLINE VOID DC_UnlockDc(PDC pdc)
VOID FASTCALL IntUpdateBoundsRect(PDC, PRECTL)
VOID FASTCALL DC_vUpdateFillBrush(PDC pdc)
ULONG TranslateCOLORREF(PDC pdc, COLORREF crColor)
FORCEINLINE PDC DC_LockDc(HDC hdc)
#define ERROR_NOT_ENOUGH_MEMORY
#define NT_SUCCESS(StatCode)
static const BLENDFUNCTION BlendFunc
#define ERROR_INVALID_PARAMETER
#define ERROR_INVALID_HANDLE
static void cleanup(void)
VOID NTAPI EBRUSHOBJ_vInitFromDC(EBRUSHOBJ *pebo, PBRUSH pbrush, PDC pdc)
VOID NTAPI EBRUSHOBJ_vCleanup(EBRUSHOBJ *pebo)
VOID NTAPI EBRUSHOBJ_vInit(EBRUSHOBJ *pebo, PBRUSH pbrush, PSURFACE psurf, COLORREF crBackgroundClr, COLORREF crForegroundClr, PPALETTE ppalDC)
#define ExAllocatePoolWithTag(hernya, size, tag)
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
#define BRUSH_ShareLockBrush(hBrush)
#define BRUSH_ShareUnlockBrush(pBrush)
FORCEINLINE ULONG EBRUSHOBJ_iSetSolidColor(EBRUSHOBJ *pebo, ULONG iSolidColor)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define EXCEPTION_EXECUTE_HANDLER
#define ROP4_USES_PATTERN(Rop4)
BOOL FASTCALL IntEngTransparentBlt(SURFOBJ *Dest, SURFOBJ *Source, CLIPOBJ *Clip, XLATEOBJ *ColorTranslation, PRECTL DestRect, PRECTL SourceRect, ULONG iTransColor, ULONG Reserved)
BOOL APIENTRY IntEngStretchBlt(SURFOBJ *DestObj, SURFOBJ *SourceObj, SURFOBJ *Mask, CLIPOBJ *ClipRegion, XLATEOBJ *ColorTranslation, COLORADJUSTMENT *pca, RECTL *DestRect, RECTL *SourceRect, POINTL *pMaskOrigin, BRUSHOBJ *Brush, POINTL *BrushOrigin, ULONG Mode)
#define ROP4_USES_MASK(Rop4)
#define ROP4_USES_SOURCE(Rop4)
BOOL APIENTRY IntEngPaint(_In_ SURFOBJ *pso, _In_ CLIPOBJ *pco, _In_ BRUSHOBJ *pbo, _In_ POINTL *pptlBrushOrg, _In_ __in_data_source(USER_MODE) MIX mix)
#define WIN32_ROP3_TO_ENG_ROP4(dwRop4)
#define WIN32_ROP4_USES_SOURCE(Rop)
#define WIN32_ROP4_TO_ENG_ROP4(dwRop4)
#define ExFreePoolWithTag(_P, _T)
_Out_opt_ int _Out_opt_ int * cy
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
BLENDFUNCTION BlendFunction
struct _PALETTE *const ppal
#define RtlCopyMemory(Destination, Source, Length)
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
_In_ HFONT _Out_ PUINT Height
BOOL APIENTRY IntEngAlphaBlend(_Inout_ SURFOBJ *psoDest, _In_ SURFOBJ *psoSource, _In_opt_ CLIPOBJ *pco, _In_opt_ XLATEOBJ *pxlo, _In_ RECTL *prclDest, _In_ RECTL *prclSrc, _In_ BLENDOBJ *pBlendObj)
BOOL APIENTRY IntEngBitBlt(SURFOBJ *psoTrg, SURFOBJ *psoSrc, SURFOBJ *psoMask, CLIPOBJ *pco, XLATEOBJ *pxlo, RECTL *prclTrg, POINTL *pptlSrc, POINTL *pptlMask, BRUSHOBJ *pbo, POINTL *pptlBrush, ROP4 Rop4)
VOID FASTCALL IntEngUpdateClipRegion(XCLIPOBJ *Clip, ULONG count, const RECTL *pRect, const RECTL *rcBounds)
VOID FASTCALL IntEngFreeClipResources(XCLIPOBJ *Clip)
VOID FASTCALL IntEngInitClipObj(XCLIPOBJ *Clip)
VOID FASTCALL SetLastNtError(_In_ NTSTATUS Status)
UCHAR gajBitsPerFormat[11]
PSURFACE NTAPI SURFACE_AllocSurface(_In_ USHORT iType, _In_ ULONG cx, _In_ ULONG cy, _In_ ULONG iFormat, _In_ ULONG fjBitmap, _In_opt_ ULONG cjWidth, _In_opt_ ULONG cjBufSize, _In_opt_ PVOID pvBits)
#define SURFACE_ShareUnlockSurface(pBMObj)
#define SURFACE_ShareLockSurface(hBMObj)
BOOL APIENTRY NtGdiPolyPatBlt(HDC hDC, DWORD dwRop, IN PPOLYPATBLT pRects, IN DWORD cRects, IN DWORD Mode)
BOOL APIENTRY IntGdiBitBltRgn(_In_ PDC pdc, _In_ PREGION prgn, _In_opt_ BRUSHOBJ *pbo, _In_opt_ POINTL *pptlBrush, _In_ ROP4 rop4)
BOOL APIENTRY NtGdiPatBlt(_In_ HDC hdcDest, _In_ INT x, _In_ INT y, _In_ INT cx, _In_ INT cy, _In_ DWORD dwRop)
BOOL FASTCALL IntGdiPaintRgn(_In_ PDC pdc, _In_ PREGION prgn)
BOOL FASTCALL IntGdiPolyPatBlt(HDC hDC, DWORD dwRop, PPATRECT pRects, INT cRects, ULONG Reserved)
static BOOL FASTCALL REGION_LPTODP(_In_ PDC pdc, _Inout_ PREGION prgnDest, _In_ PREGION prgnSrc)
BOOL APIENTRY NtGdiInvertRgn(_In_ HDC hdc, _In_ HRGN hrgn)
COLORREF APIENTRY NtGdiGetPixel(_In_ HDC hdc, _In_ INT x, _In_ INT y)
BOOL APIENTRY NtGdiStretchBlt(HDC hDCDest, INT XOriginDest, INT YOriginDest, INT WidthDest, INT HeightDest, HDC hDCSrc, INT XOriginSrc, INT YOriginSrc, INT WidthSrc, INT HeightSrc, DWORD dwRop3, IN DWORD dwBackColor)
BOOL IntGdiFillRgn(_In_ PDC pdc, _In_ PREGION prgn, _In_opt_ PBRUSH pbrFill)
BOOL APIENTRY NtGdiMaskBlt(HDC hdcDest, INT nXDest, INT nYDest, INT nWidth, INT nHeight, HDC hdcSrc, INT nXSrc, INT nYSrc, HBITMAP hbmMask, INT xMask, INT yMask, DWORD dwRop4, IN DWORD crBackColor)
BOOL APIENTRY NtGdiFrameRgn(_In_ HDC hdc, _In_ HRGN hrgn, _In_ HBRUSH hbrush, _In_ INT xWidth, _In_ INT yHeight)
BOOL FASTCALL IntPatBlt(PDC pdc, INT XLeft, INT YLeft, INT Width, INT Height, DWORD dwRop3, PEBRUSHOBJ pebo)
BOOL APIENTRY NtGdiTransparentBlt(HDC hdcDst, INT xDst, INT yDst, INT cxDst, INT cyDst, HDC hdcSrc, INT xSrc, INT ySrc, INT cxSrc, INT cySrc, COLORREF TransColor)
BOOL NTAPI GreStretchBltMask(HDC hDCDest, INT XOriginDest, INT YOriginDest, INT WidthDest, INT HeightDest, HDC hDCSrc, INT XOriginSrc, INT YOriginSrc, INT WidthSrc, INT HeightSrc, DWORD dwRop4, IN DWORD dwBackColor, HDC hDCMask, INT XOriginMask, INT YOriginMask)
BOOL APIENTRY NtGdiAlphaBlend(HDC hDCDest, LONG XOriginDest, LONG YOriginDest, LONG WidthDest, LONG HeightDest, HDC hDCSrc, LONG XOriginSrc, LONG YOriginSrc, LONG WidthSrc, LONG HeightSrc, BLENDFUNCTION BlendFunc, HANDLE hcmXform)
BOOL APIENTRY NtGdiPlgBlt(IN HDC hdcTrg, IN LPPOINT pptlTrg, IN HDC hdcSrc, IN INT xSrc, IN INT ySrc, IN INT cxSrc, IN INT cySrc, IN HBITMAP hbmMask, IN INT xMask, IN INT yMask, IN DWORD crBackColor)
COLORREF APIENTRY NtGdiSetPixel(_In_ HDC hdc, _In_ INT x, _In_ INT y, _In_ COLORREF crColor)
BOOL APIENTRY NtGdiFillRgn(_In_ HDC hdc, _In_ HRGN hrgn, _In_ HBRUSH hbrush)
BOOL APIENTRY NtGdiBitBlt(HDC hDCDest, INT XDest, INT YDest, INT Width, INT Height, HDC hDCSrc, INT XSrc, INT YSrc, DWORD dwRop, IN DWORD crBackColor, IN FLONG fl)
BOOL NTAPI GreDeleteObject(HGDIOBJ hobj)
BOOL NTAPI GDIOBJ_bLockMultipleObjects(IN ULONG ulCount, IN HGDIOBJ *ahObj, OUT PGDIOBJ *apObj, IN UCHAR objt)
VOID NTAPI GDIOBJ_vUnlockObject(POBJ pobj)
VOID NTAPI GDIOBJ_vDeleteObject(POBJ pobj)
VOID FASTCALL RECTL_vMakeWellOrdered(_Inout_ RECTL *prcl)
FORCEINLINE VOID RECTL_vSetRect(_Out_ RECTL *prcl, _In_ LONG left, _In_ LONG top, _In_ LONG right, _In_ LONG bottom)
VOID FASTCALL REGION_Delete(PREGION pRgn)
PREGION FASTCALL REGION_LockRgn(_In_ HRGN hrgn)
BOOL FASTCALL REGION_bXformRgn(_Inout_ PREGION prgn, _In_ PMATRIX pmx)
VOID FASTCALL REGION_UnlockRgn(_In_ PREGION prgn)
INT FASTCALL REGION_GetRgnBox(PREGION Rgn, PRECTL pRect)
PREGION FASTCALL IntSysCreateRectpRgn(INT LeftRect, INT TopRect, INT RightRect, INT BottomRect)
HRGN FASTCALL GreCreateFrameRgn(HRGN hrgn, INT cx, INT cy)
BOOL FASTCALL REGION_bOffsetRgn(_Inout_ PREGION prgn, _In_ INT cx, _In_ INT cy)
INT FASTCALL IntGdiCombineRgn(PREGION prgnDest, PREGION prgnSrc1, PREGION prgnSrc2, INT iCombineMode)
_In_ PATHOBJ _In_ CLIPOBJ _In_ BRUSHOBJ _In_ POINTL _In_ MIX mix
ENGAPI ULONG APIENTRY XLATEOBJ_iXlate(_In_ XLATEOBJ *pxlo, _In_ ULONG iColor)
_In_opt_ SURFOBJ _In_opt_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_opt_ POINTL _In_opt_ POINTL _In_opt_ BRUSHOBJ _In_opt_ POINTL _In_ ROP4 rop4
_In_opt_ SURFOBJ _In_opt_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_opt_ POINTL _In_opt_ POINTL _In_opt_ BRUSHOBJ _In_opt_ POINTL * pptlBrush
ENGAPI BOOL APIENTRY EngCopyBits(_In_ SURFOBJ *psoDest, _In_ SURFOBJ *psoSrc, _In_opt_ CLIPOBJ *pco, _In_opt_ XLATEOBJ *pxlo, _In_ __in_data_source(USER_MODE) RECTL *prclDest, _In_ __in_data_source(USER_MODE) POINTL *pptlSrc)
_In_opt_ SURFOBJ _In_opt_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_opt_ POINTL _In_opt_ POINTL _In_opt_ BRUSHOBJ * pbo
ENGAPI VOID APIENTRY EngSetLastError(_In_ ULONG iError)
_Reserved_ PVOID Reserved
VOID NTAPI EXLATEOBJ_vInitialize(_Out_ PEXLATEOBJ pexlo, _In_opt_ PALETTE *ppalSrc, _In_opt_ PALETTE *ppalDst, _In_ COLORREF crSrcBackColor, _In_ COLORREF crDstBackColor, _In_ COLORREF crDstForeColor)
VOID NTAPI EXLATEOBJ_vCleanup(_Inout_ PEXLATEOBJ pexlo)
VOID NTAPI EXLATEOBJ_vInitXlateFromDCs(_Out_ EXLATEOBJ *pexlo, _In_ PDC pdcSrc, _In_ PDC pdcDst)