33 SURFACE *BitmapDest, *BitmapSrc;
34 RECTL DestRect, SourceRect;
40 if (WidthDest < 0 || HeightDest < 0 || WidthSrc < 0 || HeightSrc < 0)
46 if ((hDCDest ==
NULL) || (hDCSrc ==
NULL))
52 TRACE(
"Locking DCs\n");
57 WARN(
"Invalid dc handle (dest=0x%p, src=0x%p) passed to NtGdiAlphaBlend\n", hDCDest, hDCSrc);
72 DestRect.
left = XOriginDest;
73 DestRect.
top = YOriginDest;
74 DestRect.
right = XOriginDest + WidthDest;
75 DestRect.
bottom = YOriginDest + HeightDest;
78 DestRect.
left += DCDest->ptlDCOrig.x;
79 DestRect.
top += DCDest->ptlDCOrig.y;
80 DestRect.
right += DCDest->ptlDCOrig.x;
81 DestRect.
bottom += DCDest->ptlDCOrig.y;
88 SourceRect.
left = XOriginSrc;
89 SourceRect.
top = YOriginSrc;
90 SourceRect.
right = XOriginSrc + WidthSrc;
91 SourceRect.
bottom = YOriginSrc + HeightSrc;
94 SourceRect.
left += DCSrc->ptlDCOrig.x;
95 SourceRect.
top += DCSrc->ptlDCOrig.y;
96 SourceRect.
right += DCSrc->ptlDCOrig.x;
97 SourceRect.
bottom += DCSrc->ptlDCOrig.y;
99 if (!DestRect.
right ||
110 TRACE(
"Preparing DCs for blit\n");
114 BitmapDest = DCDest->dclevel.pSurface;
121 BitmapSrc = DCSrc->dclevel.pSurface;
132 TRACE(
"Performing the alpha blend\n");
143 TRACE(
"Finishing blit\n");
220 ULONG TransparentColor = 0;
230 TRACE(
"Locking DCs\n");
235 WARN(
"Invalid dc handle (dest=0x%p, src=0x%p) passed to NtGdiAlphaBlend\n",
hdcDst,
hdcSrc);
256 rcDest.
left += DCDest->ptlDCOrig.x;
257 rcDest.
top += DCDest->ptlDCOrig.y;
258 rcDest.
right += DCDest->ptlDCOrig.x;
259 rcDest.
bottom += DCDest->ptlDCOrig.y;
267 rcSrc.
left += DCSrc->ptlDCOrig.x;
268 rcSrc.
top += DCSrc->ptlDCOrig.y;
269 rcSrc.
right += DCSrc->ptlDCOrig.x;
270 rcSrc.
bottom += DCSrc->ptlDCOrig.y;
280 BitmapDest = DCDest->dclevel.pSurface;
286 BitmapSrc = DCSrc->dclevel.pSurface;
300 (
CLIPOBJ *)&DCDest->co, &exlo.
xlo, &rcDest, &rcSrc,
301 TransparentColor, 0);
335 RECTL DestRect, SourceRect;
336 POINTL SourcePoint, MaskPoint;
346 if (!hdcDest || (UsesSource && !
hdcSrc))
357 if (psurfMask ==
NULL)
382 TRACE(
"Locking DCs\n");
387 WARN(
"Invalid dc handle (dest=0x%p, src=0x%p) passed to NtGdiMaskBlt\n", hdcDest,
hdcSrc);
399 WARN(
"Invalid destination dc handle (0x%p) passed to NtGdiMaskBlt\n", hdcDest);
426 pdcattr = DCDest->pdcattr;
428 DestRect.
left = nXDest;
429 DestRect.
top = nYDest;
430 DestRect.
right = nXDest + nWidth;
431 DestRect.
bottom = nYDest + nHeight;
434 DestRect.
left += DCDest->ptlDCOrig.x;
435 DestRect.
top += DCDest->ptlDCOrig.y;
436 DestRect.
right += DCDest->ptlDCOrig.x;
437 DestRect.
bottom += DCDest->ptlDCOrig.y;
444 SourcePoint.
x = nXSrc;
445 SourcePoint.
y = nYSrc;
451 SourcePoint.
x += DCSrc->ptlDCOrig.x;
452 SourcePoint.
y += DCSrc->ptlDCOrig.y;
454 SourceRect.
left = SourcePoint.
x;
455 SourceRect.
top = SourcePoint.
y;
463 SourceRect.
right = 0;
474 BitmapDest = DCDest->dclevel.pSurface;
480 BitmapSrc = DCSrc->dclevel.pSurface;
486 XlateObj = &exlo.
xlo;
489 DPRINT(
"DestRect: (%d,%d)-(%d,%d) and SourcePoint is (%d,%d)\n",
491 SourcePoint.
x, SourcePoint.
y);
493 DPRINT(
"nWidth is '%d' and nHeight is '%d'.\n", nWidth, nHeight);
496 if ((DestRect.
left > DestRect.
right) && (nWidth < 0))
498 SourcePoint.
x += nWidth;
503 if ((DestRect.
top > DestRect.
bottom) && (nHeight < 0))
505 SourcePoint.
y += nHeight;
515 psurfMask ? &psurfMask->SurfObj :
NULL,
521 &DCDest->eboFill.BrushObject,
522 &DCDest->dclevel.pbrFill->ptOrigin,
554 FIXME(
"NtGdiPlgBlt: unimplemented.\n");
595 BOOL Case0000, Case0101, Case1010, CaseExcept;
602 if (0 == WidthDest || 0 == HeightDest || 0 == WidthSrc || 0 == HeightSrc)
608 if (!hDCDest || (UsesSource && !hDCSrc) || (UsesMask && !hDCMask))
615 ahDC[1] = UsesSource ? hDCSrc :
NULL;
616 ahDC[2] = UsesMask ? hDCMask :
NULL;
619 WARN(
"Invalid dc handle (dest=0x%p, src=0x%p) passed to GreStretchBltMask\n", hDCDest, hDCSrc);
649 Case0000 = ((WidthDest < 0) && (HeightDest < 0) && (WidthSrc < 0) && (HeightSrc < 0));
650 Case0101 = ((WidthDest < 0) && (HeightDest > 0) && (WidthSrc < 0) && (HeightSrc > 0));
651 Case1010 = ((WidthDest > 0) && (HeightDest < 0) && (WidthSrc > 0) && (HeightSrc < 0));
652 CaseExcept = (Case0000 || Case0101 || Case1010);
654 pdcattr = DCDest->pdcattr;
656 DestRect.
left = XOriginDest;
657 DestRect.
top = YOriginDest;
658 DestRect.
right = XOriginDest+WidthDest;
659 DestRect.
bottom = YOriginDest+HeightDest;
662 if ((WidthDest < 0) && !CaseExcept)
667 if ((HeightDest < 0) && !CaseExcept)
675 DestRect.
left += DCDest->ptlDCOrig.x;
676 DestRect.
top += DCDest->ptlDCOrig.y;
677 DestRect.
right += DCDest->ptlDCOrig.x;
678 DestRect.
bottom += DCDest->ptlDCOrig.y;
685 SourceRect.
left = XOriginSrc;
686 SourceRect.
top = YOriginSrc;
687 SourceRect.
right = XOriginSrc+WidthSrc;
688 SourceRect.
bottom = YOriginSrc+HeightSrc;
691 if ((WidthSrc < 0) && !CaseExcept)
696 if ((HeightSrc < 0) && !CaseExcept)
706 SourceRect.left += DCSrc->ptlDCOrig.x;
707 SourceRect.top += DCSrc->ptlDCOrig.y;
708 SourceRect.right += DCSrc->ptlDCOrig.x;
709 SourceRect.bottom += DCSrc->ptlDCOrig.y;
722 BitmapDest = DCDest->dclevel.pSurface;
723 if (BitmapDest ==
NULL)
727 BitmapSrc = DCSrc->dclevel.pSurface;
728 if (BitmapSrc ==
NULL)
733 XlateObj = &exlo.
xlo;
737 BrushOrigin.
x += DCDest->ptlDCOrig.x;
738 BrushOrigin.
y += DCDest->ptlDCOrig.y;
741 if (BitmapSrc && DCMask)
743 BitmapMask = DCMask->dclevel.pSurface;
748 WARN(
"%dx%d mask is smaller than %dx%d bitmap\n",
750 WidthSrc, HeightSrc);
755 MaskPoint.
x = XOriginMask;
756 MaskPoint.
y = YOriginMask;
758 MaskPoint.
x += DCMask->ptlDCOrig.x;
759 MaskPoint.
y += DCMask->ptlDCOrig.y;
762 DPRINT(
"Calling IntEngStrethBlt SourceRect: (%d,%d)-(%d,%d) and DestRect: (%d,%d)-(%d,%d).\n",
775 BitmapMask ? &MaskPoint :
NULL,
776 &DCDest->eboFill.BrushObject,
828 MAKEROP4(dwRop3 & 0xFF0000, dwRop3),
863 DestRect.
left = XLeft;
869 DestRect.
right = XLeft;
874 DestRect.
top = YLeft;
885 DestRect.
left += pdc->ptlDCOrig.x;
886 DestRect.
top += pdc->ptlDCOrig.y;
887 DestRect.
right += pdc->ptlDCOrig.x;
888 DestRect.
bottom += pdc->ptlDCOrig.y;
896 BrushOrigin.
x = pbrush->ptOrigin.x + pdc->ptlDCOrig.x + XLeft;
897 BrushOrigin.
y = pbrush->ptOrigin.y + pdc->ptlDCOrig.y + YLeft;
899 BrushOrigin.
x = pbrush->ptOrigin.x + pdc->ptlDCOrig.x;
900 BrushOrigin.
y = pbrush->ptOrigin.y + pdc->ptlDCOrig.y;
905 psurf = pdc->dclevel.pSurface;
951 for (
i = 0;
i < cRects;
i++)
996 dwRop =
MAKEROP4(dwRop & 0xFF0000, dwRop);
1014 if (pdc->dclevel.pSurface ==
NULL)
1114 if (pdc->dclevel.pSurface ==
NULL)
1121 if (prgnClip ==
NULL)
1164 bResult =
IntEngBitBlt(&pdc->dclevel.pSurface->SurfObj,
1200 if (pdc->dclevel.pSurface ==
NULL)
1206 if (prgnClip ==
NULL)
1246 mix = rop2Fg | (pdc->pdcattr->jBkMode ==
OPAQUE ? rop2Fg :
R2_NOP) << 8;
1252 if (pbrFill !=
NULL)
1266 pbo = &pdc->eboFill.BrushObject;
1270 bRet =
IntEngPaint(&pdc->dclevel.pSurface->SurfObj,
1273 &pdc->pdcattr->ptlBrushOrigin,
1309 ERR(
"Failed to lock hdc %p\n",
hdc);
1314 if (pdc->dclevel.pSurface ==
NULL)
1324 ERR(
"Failed to lock hrgn %p\n",
hrgn);
1331 if (pbrFill ==
NULL)
1333 ERR(
"Failed to lock hbrush %p\n",
hbrush);
1363 if (hrgnFrame ==
NULL)
1393 if (pdc->dclevel.pSurface ==
NULL)
1430 ULONG iOldColor, iSolidColor;
1445 if (pdc->dclevel.pSurface ==
NULL)
1460 rcDst.
left += pdc->ptlDCOrig.x;
1461 rcDst.
top += pdc->ptlDCOrig.y;
1462 rcDst.
right += pdc->ptlDCOrig.x;
1463 rcDst.
bottom += pdc->ptlDCOrig.y;
1472 pebo = &pdc->eboText;
1478 ulDirty = pdc->pdcattr->ulDirty_;
1479 pdc->pdcattr->ulDirty_ &= ~DIRTY_TEXT;
1486 pdc->pdcattr->ulDirty_ = ulDirty;
1491 pdc->dclevel.pSurface->ppal,
1494 pdc->pdcattr->crBackgroundClr,
1495 pdc->pdcattr->crForegroundClr);
1507 return bResult ? crColor : -1;
1532 if (pdc->dclevel.pSurface ==
NULL)
1544 ptlSrc.
x += pdc->ptlDCOrig.x;
1545 ptlSrc.
y += pdc->ptlDCOrig.y;
1556 psurfSrc = pdc->dclevel.pSurface;
1577 RECTL rclDest = {0, 0, 1, 1};
1585 RGB(0xff,0xff,0xff),
1603 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
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(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)