[YAROTOWS] Reintegrate the branch. For a brighter future.
[reactos.git] / reactos / subsystems / win32 / win32k / include / intgdi.h
index e814e63..fcbb7a0 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef _WIN32K_INTGDI_H
-#define _WIN32K_INTGDI_H
+#pragma once
 
 #include "region.h"
 
@@ -8,9 +7,6 @@
 extern HDC hSystemBM;
 extern HSEMAPHORE hsemDriverMgmt;
 
-XLATEOBJ* FASTCALL
-IntGdiCreateBrushXlate(PDC Dc, BRUSH *BrushObj, BOOLEAN *Failed);
-
 XLATEOBJ*
 FASTCALL
 IntCreateXlateForBlt(PDC pDCDest, PDC pDCSrc, SURFACE* pDestSurf, SURFACE* pSrcSurf);
@@ -70,7 +66,8 @@ BOOL FASTCALL
 IntGdiMoveToEx(DC      *dc,
                int     X,
                int     Y,
-               LPPOINT Point);
+               LPPOINT Point,
+               BOOL    BypassPath);
 
 BOOL FASTCALL
 IntGdiPolyBezier(DC      *dc,
@@ -125,10 +122,15 @@ IntGdiPolyPolygon(DC      *dc,
                   PULONG  PolyCounts,
                   int     Count);
 
-BOOL FASTCALL IntGdiGradientFill(DC *dc,
+BOOL
+NTAPI
+GreGradientFill(
+    HDC hdc,
     PTRIVERTEX pVertex,
-    ULONG uVertex,
-    PVOID pMesh, ULONG uMesh, ULONG ulMode);
+    ULONG nVertex,
+    PVOID pMesh,
+    ULONG nMesh,
+    ULONG ulMode);
 
 /* DC functions */
 
@@ -157,26 +159,14 @@ IntGdiCombineTransform(LPXFORM XFormResult,
 BOOL FASTCALL
 IntSetSysColors(UINT nColors, INT *Elements, COLORREF *Colors);
 
-BOOL FASTCALL
-IntGetSysColorBrushes(HBRUSH *Brushes, UINT nBrushes);
-
 HGDIOBJ FASTCALL
 IntGetSysColorBrush(INT Object);
 
-BOOL FASTCALL
-IntGetSysColorPens(HPEN *Pens, UINT nPens);
-
-BOOL FASTCALL
-IntGetSysColors(COLORREF *Colors, UINT nColors);
-
 DWORD FASTCALL
 IntGetSysColor(INT nIndex);
 
 /* Other Stuff */
 
-INT FASTCALL
-IntGdiGetDeviceCaps(PDC dc, INT Index);
-
 INT
 FASTCALL
 IntGdiEscape(PDC    dc,
@@ -193,14 +183,6 @@ IntEnumDisplaySettings(
   IN OUT LPDEVMODEW pDevMode,
   IN DWORD dwFlags);
 
-LONG
-FASTCALL
-IntChangeDisplaySettings(
-  IN PUNICODE_STRING pDeviceName  OPTIONAL,
-  IN LPDEVMODEW pDevMode,
-  IN DWORD dwflags,
-  IN PVOID lParam  OPTIONAL);
-
 HBITMAP
 FASTCALL
 IntCreateCompatibleBitmap(PDC Dc,
@@ -256,5 +238,19 @@ IntGetDIBColorTable(HDC hDC, UINT StartIndex, UINT Entries, RGBQUAD *Colors);
 UINT APIENTRY
 IntSetDIBColorTable(HDC hDC, UINT StartIndex, UINT Entries, CONST RGBQUAD *Colors);
 
-#endif /* _WIN32K_INTGDI_H */
-
+BOOL APIENTRY
+GreStretchBltMask(IN HDC hdcDst,
+                  IN INT xDst,
+                  IN INT yDst,
+                  IN INT cxDst,
+                  IN INT cyDst,
+                  IN HDC hdcSrc,
+                  IN INT xSrc,
+                  IN INT ySrc,
+                  IN INT cxSrc,
+                  IN INT cySrc,
+                  IN DWORD dwRop,
+                  IN DWORD dwBackColor,
+                  IN HDC hdcMask,
+                  IN INT xMask,
+                  IN INT yMask);