1 #ifndef _WIN32K_INTGDI_H
2 #define _WIN32K_INTGDI_H
7 IntGdiCreateBrushXlate(PDC Dc
, GDIBRUSHOBJ
*BrushObj
, BOOLEAN
*Failed
);
10 IntGdiInitBrushInstance(GDIBRUSHINST
*BrushInst
, PGDIBRUSHOBJ BrushObj
, XLATEOBJ
*XlateObj
);
14 CONST BITMAPINFO
*BitmapInfo
,
17 CONST VOID
*PackedDIB
);
20 IntGdiCreateHatchBrush(
25 IntGdiCreatePatternBrush(
29 IntGdiCreateSolidBrush(
33 IntGdiCreateNullBrush(VOID
);
43 PGDIBRUSHOBJ BrushObj
);
48 IntGdiCreatePenIndirect(PLOGPEN lgpn
);
58 IntGdiMoveToEx(DC
*dc
,
64 IntGdiPolyBezier(DC
*dc
,
69 IntGdiPolyline(DC
*dc
,
74 IntGdiPolyBezierTo(DC
*dc
,
79 IntGdiPolyPolyline(DC
*dc
,
85 IntGdiPolylineTo(DC
*dc
,
101 IntGdiGetArcDirection(DC
*dc
);
103 /* Shape functions */
106 IntGdiPolygon(PDC dc
,
111 IntGdiPolyPolygon(DC
*dc
,
119 IntGdiGetClipBox(HDC hDC
,
122 HRGN FASTCALL
REGION_CropRgn(HRGN hDst
, HRGN hSrc
, const PRECT lpRect
, PPOINT lpPt
);
123 void FASTCALL
REGION_UnionRectWithRegion(const RECT
*rect
, ROSRGNDATA
*rgn
);
124 INT FASTCALL
UnsafeIntGetRgnBox(PROSRGNDATA Rgn
, LPRECT pRect
);
125 BOOL FASTCALL
UnsafeIntRectInRegion(PROSRGNDATA Rgn
, CONST LPRECT rc
);
127 #define UnsafeIntCreateRectRgnIndirect(prc) \
128 NtGdiCreateRectRgn((prc)->left, (prc)->top, (prc)->right, (prc)->bottom)
130 #define UnsafeIntUnionRectWithRgn(rgndest, prc) \
131 REGION_UnionRectWithRegion((prc), (rgndest))
136 IntGdiGetDCOrgEx(DC
*dc
, LPPOINT Point
);
139 IntGdiGetObject(HANDLE handle
, INT count
, LPVOID buffer
);
142 IntGdiCreateDC(PUNICODE_STRING Driver
,
143 PUNICODE_STRING Device
,
144 PUNICODE_STRING Output
,
145 CONST PDEVMODEW InitData
,
149 IntGetDCColor(HDC hDC
, ULONG Object
);
152 IntSetDCColor(HDC hDC
, ULONG Object
, COLORREF Color
);
154 /* Coord functions */
157 IntGdiCombineTransform(LPXFORM XFormResult
,
164 IntGdiSetRect(PRECT Rect
, INT left
, INT top
, INT right
, INT bottom
);
167 IntGdiSetEmptyRect(PRECT Rect
);
170 IntGdiIsEmptyRect(const RECT
* Rect
);
173 IntGdiOffsetRect(LPRECT Rect
, INT x
, INT y
);
176 IntGdiUnionRect(PRECT Dest
, const RECT
* Src1
, const RECT
* Src2
);
179 IntGdiIntersectRect(PRECT Dest
, const RECT
* Src1
, const RECT
* Src2
);
184 IntSetSysColors(UINT nColors
, INT
*Elements
, COLORREF
*Colors
);
187 IntGetSysColorBrushes(HBRUSH
*Brushes
, UINT nBrushes
);
190 IntGetSysColorPens(HPEN
*Pens
, UINT nPens
);
193 IntGetSysColors(COLORREF
*Colors
, UINT nColors
);
198 IntGdiGetDeviceCaps(PDC dc
, INT Index
);
200 int STDCALL
IntGdiExtSelectClipRgn (PDC dc
, HRGN hrgn
, int fnMode
);
212 IntEnumDisplaySettings(
213 IN PUNICODE_STRING pDeviceName OPTIONAL
,
215 IN OUT LPDEVMODEW pDevMode
,
220 IntChangeDisplaySettings(
221 IN PUNICODE_STRING pDeviceName OPTIONAL
,
222 IN LPDEVMODEW pDevMode
,
224 IN PVOID lParam OPTIONAL
);
226 #endif /* _WIN32K_INTGDI_H */