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
);
15 CONST BITMAPINFO
*BitmapInfo
,
18 CONST VOID
*PackedDIB
);
21 IntGdiCreateHatchBrush(
26 IntGdiCreatePatternBrush(
30 IntGdiCreateSolidBrush(
34 IntGdiCreateNullBrush(VOID
);
44 PGDIBRUSHOBJ BrushObj
);
49 IntGdiCreatePenIndirect(PLOGPEN lgpn
);
59 IntGdiMoveToEx(DC
*dc
,
65 IntGdiPolyBezier(DC
*dc
,
70 IntGdiPolyline(DC
*dc
,
75 IntGdiPolyBezierTo(DC
*dc
,
80 IntGdiPolyPolyline(DC
*dc
,
86 IntGdiPolylineTo(DC
*dc
,
102 IntGdiGetArcDirection(DC
*dc
);
104 /* Shape functions */
107 IntGdiPolygon(PDC dc
,
112 IntGdiPolyPolygon(DC
*dc
,
120 IntGdiGetClipBox(HDC hDC
,
123 HRGN FASTCALL
REGION_CropRgn(HRGN hDst
, HRGN hSrc
, const PRECT lpRect
, PPOINT lpPt
);
124 void FASTCALL
REGION_UnionRectWithRegion(const RECT
*rect
, ROSRGNDATA
*rgn
);
125 INT FASTCALL
UnsafeIntGetRgnBox(PROSRGNDATA Rgn
, LPRECT pRect
);
126 BOOL FASTCALL
UnsafeIntRectInRegion(PROSRGNDATA Rgn
, CONST LPRECT rc
);
128 #define UnsafeIntCreateRectRgnIndirect(prc) \
129 NtGdiCreateRectRgn((prc)->left, (prc)->top, (prc)->right, (prc)->bottom)
131 #define UnsafeIntUnionRectWithRgn(rgndest, prc) \
132 REGION_UnionRectWithRegion((prc), (rgndest))
137 IntGdiGetDCOrgEx(DC
*dc
, LPPOINT Point
);
140 IntGdiGetObject(HANDLE handle
, INT count
, LPVOID buffer
);
143 IntGdiCreateDC(PUNICODE_STRING Driver
,
144 PUNICODE_STRING Device
,
145 PUNICODE_STRING Output
,
146 CONST PDEVMODEW InitData
,
150 IntGetDCColor(HDC hDC
, ULONG Object
);
153 IntSetDCColor(HDC hDC
, ULONG Object
, COLORREF Color
);
155 /* Coord functions */
158 IntGdiCombineTransform(LPXFORM XFormResult
,
165 IntGdiSetRect(PRECT Rect
, INT left
, INT top
, INT right
, INT bottom
);
168 IntGdiSetEmptyRect(PRECT Rect
);
171 IntGdiIsEmptyRect(const RECT
* Rect
);
174 IntGdiOffsetRect(LPRECT Rect
, INT x
, INT y
);
177 IntGdiUnionRect(PRECT Dest
, const RECT
* Src1
, const RECT
* Src2
);
180 IntGdiIntersectRect(PRECT Dest
, const RECT
* Src1
, const RECT
* Src2
);
185 IntSetSysColors(UINT nColors
, INT
*Elements
, COLORREF
*Colors
);
188 IntGetSysColorBrushes(HBRUSH
*Brushes
, UINT nBrushes
);
191 IntGetSysColorPens(HPEN
*Pens
, UINT nPens
);
194 IntGetSysColors(COLORREF
*Colors
, UINT nColors
);
199 IntGdiGetDeviceCaps(PDC dc
, INT Index
);
211 IntEnumDisplaySettings(
212 IN PUNICODE_STRING pDeviceName OPTIONAL
,
214 IN OUT LPDEVMODEW pDevMode
,
219 IntChangeDisplaySettings(
220 IN PUNICODE_STRING pDeviceName OPTIONAL
,
221 IN LPDEVMODEW pDevMode
,
223 IN PVOID lParam OPTIONAL
);
225 #endif /* _WIN32K_INTGDI_H */