1 #ifndef _WIN32K_INTGDI_H
2 #define _WIN32K_INTGDI_H
9 IntGdiCreateBrushXlate(PDC Dc
, GDIBRUSHOBJ
*BrushObj
, BOOLEAN
*Failed
);
12 IntGdiInitBrushInstance(GDIBRUSHINST
*BrushInst
, PGDIBRUSHOBJ BrushObj
, XLATEOBJ
*XlateObj
);
16 CONST BITMAPINFO
*BitmapInfo
,
19 CONST VOID
*PackedDIB
);
22 IntGdiCreateHatchBrush(
27 IntGdiCreatePatternBrush(
31 IntGdiCreateSolidBrush(
35 IntGdiCreateNullBrush(VOID
);
45 PGDIBRUSHOBJ BrushObj
);
48 IntGdiSetSolidBrushColor(HBRUSH hBrush
, COLORREF Color
);
53 IntGdiExtCreatePen(DWORD
, DWORD
, IN ULONG
, IN ULONG
, IN ULONG_PTR
, IN ULONG_PTR
, DWORD
, PULONG
, IN ULONG
, IN BOOL
, IN OPTIONAL HBRUSH
);
56 IntGdiSetSolidPenColor(HPEN hPen
, COLORREF Color
);
66 IntGdiMoveToEx(DC
*dc
,
72 IntGdiPolyBezier(DC
*dc
,
77 IntGdiPolyline(DC
*dc
,
82 IntGdiPolyBezierTo(DC
*dc
,
87 IntGdiPolyPolyline(DC
*dc
,
93 IntGdiPolylineTo(DC
*dc
,
109 IntGdiGetArcDirection(DC
*dc
);
111 /* Shape functions */
114 IntGdiPolygon(PDC dc
,
119 IntGdiPolyPolygon(DC
*dc
,
124 BOOL FASTCALL
IntGdiGradientFill(DC
*dc
,
127 PVOID pMesh
, ULONG uMesh
, ULONG ulMode
);
132 IntGdiGetDCOrgEx(DC
*dc
, LPPOINT Point
);
135 IntGdiGetObject(HANDLE handle
, INT count
, LPVOID buffer
);
138 IntGdiCreateDC(PUNICODE_STRING Driver
,
139 PUNICODE_STRING Device
,
141 CONST PDEVMODEW InitData
,
144 /* Coord functions */
147 IntGdiCombineTransform(LPXFORM XFormResult
,
154 IntGdiSetRect(PRECT Rect
, INT left
, INT top
, INT right
, INT bottom
);
157 IntGdiSetEmptyRect(PRECT Rect
);
160 IntGdiIsEmptyRect(const RECT
* Rect
);
163 IntGdiOffsetRect(LPRECT Rect
, INT x
, INT y
);
166 IntGdiUnionRect(PRECT Dest
, const RECT
* Src1
, const RECT
* Src2
);
169 IntGdiIntersectRect(PRECT Dest
, const RECT
* Src1
, const RECT
* Src2
);
174 IntSetSysColors(UINT nColors
, INT
*Elements
, COLORREF
*Colors
);
177 IntGetSysColorBrushes(HBRUSH
*Brushes
, UINT nBrushes
);
180 IntGetSysColorBrush(INT Object
);
183 IntGetSysColorPens(HPEN
*Pens
, UINT nPens
);
186 IntGetSysColors(COLORREF
*Colors
, UINT nColors
);
189 IntGetSysColor(INT nIndex
);
194 IntGdiGetDeviceCaps(PDC dc
, INT Index
);
196 int STDCALL
IntGdiExtSelectClipRgn (PDC dc
, HRGN hrgn
, int fnMode
);
208 IntEnumDisplaySettings(
209 IN PUNICODE_STRING pDeviceName OPTIONAL
,
211 IN OUT LPDEVMODEW pDevMode
,
216 IntChangeDisplaySettings(
217 IN PUNICODE_STRING pDeviceName OPTIONAL
,
218 IN LPDEVMODEW pDevMode
,
220 IN PVOID lParam OPTIONAL
);
224 IntCreateCompatibleBitmap(PDC Dc
,
234 IN OPTIONAL LPBYTE pBits
);
236 HDC STDCALL
IntGdiGetDCState(HDC hDC
);
238 WORD STDCALL
IntGdiSetHookFlags(HDC hDC
, WORD Flags
);
240 VOID STDCALL
IntGdiSetDCState ( HDC hDC
, HDC hDCSave
);
242 LONG STDCALL
IntSetBitmapBits(PBITMAPOBJ bmp
, DWORD Bytes
, IN PBYTE Bits
);
244 LONG STDCALL
IntGetBitmapBits(PBITMAPOBJ bmp
, DWORD Bytes
, OUT PBYTE Bits
);
246 UINT STDCALL
IntSetDIBColorTable(HDC hDC
, UINT StartIndex
, UINT Entries
, CONST RGBQUAD
*Colors
);
248 UINT STDCALL
IntGetDIBColorTable(HDC hDC
, UINT StartIndex
, UINT Entries
, RGBQUAD
*Colors
);
251 IntAnimatePalette(HPALETTE hPal
, UINT StartIndex
,
252 UINT NumEntries
, CONST PPALETTEENTRY PaletteColors
);
255 IntGetPaletteEntries(HPALETTE hpal
,
261 IntSetPaletteEntries(HPALETTE hpal
,
264 CONST LPPALETTEENTRY pe
);
267 IntGetSystemPaletteEntries(HDC hDC
,
272 IntGetDIBColorTable(HDC hDC
, UINT StartIndex
, UINT Entries
, RGBQUAD
*Colors
);
275 IntSetDIBColorTable(HDC hDC
, UINT StartIndex
, UINT Entries
, CONST RGBQUAD
*Colors
);
277 #endif /* _WIN32K_INTGDI_H */