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
);
50 IntGdiCreatePenIndirect(PLOGPEN lgpn
);
60 IntGdiMoveToEx(DC
*dc
,
66 IntGdiPolyBezier(DC
*dc
,
71 IntGdiPolyline(DC
*dc
,
76 IntGdiPolyBezierTo(DC
*dc
,
81 IntGdiPolyPolyline(DC
*dc
,
87 IntGdiPolylineTo(DC
*dc
,
103 IntGdiGetArcDirection(DC
*dc
);
105 /* Shape functions */
108 IntGdiPolygon(PDC dc
,
113 IntGdiPolyPolygon(DC
*dc
,
121 IntGdiGetClipBox(HDC hDC
,
124 HRGN FASTCALL
REGION_CropRgn(HRGN hDst
, HRGN hSrc
, const PRECT lpRect
, PPOINT lpPt
);
125 void FASTCALL
REGION_UnionRectWithRegion(const RECT
*rect
, ROSRGNDATA
*rgn
);
126 INT FASTCALL
UnsafeIntGetRgnBox(PROSRGNDATA Rgn
, LPRECT pRect
);
127 BOOL FASTCALL
UnsafeIntRectInRegion(PROSRGNDATA Rgn
, CONST LPRECT rc
);
129 #define UnsafeIntCreateRectRgnIndirect(prc) \
130 NtGdiCreateRectRgn((prc)->left, (prc)->top, (prc)->right, (prc)->bottom)
132 #define UnsafeIntUnionRectWithRgn(rgndest, prc) \
133 REGION_UnionRectWithRegion((prc), (rgndest))
138 IntGdiGetDCOrgEx(DC
*dc
, LPPOINT Point
);
141 IntGdiGetObject(HANDLE handle
, INT count
, LPVOID buffer
);
144 IntGdiCreateDC(PUNICODE_STRING Driver
,
145 PUNICODE_STRING Device
,
146 PUNICODE_STRING Output
,
147 CONST PDEVMODEW InitData
,
151 IntGetDCColor(HDC hDC
, ULONG Object
);
154 IntSetDCColor(HDC hDC
, ULONG Object
, COLORREF Color
);
156 /* Coord functions */
159 IntGdiCombineTransform(LPXFORM XFormResult
,
166 IntGdiSetRect(PRECT Rect
, INT left
, INT top
, INT right
, INT bottom
);
169 IntGdiSetEmptyRect(PRECT Rect
);
172 IntGdiIsEmptyRect(const RECT
* Rect
);
175 IntGdiOffsetRect(LPRECT Rect
, INT x
, INT y
);
178 IntGdiUnionRect(PRECT Dest
, const RECT
* Src1
, const RECT
* Src2
);
181 IntGdiIntersectRect(PRECT Dest
, const RECT
* Src1
, const RECT
* Src2
);
186 IntSetSysColors(UINT nColors
, INT
*Elements
, COLORREF
*Colors
);
189 IntGetSysColorBrushes(HBRUSH
*Brushes
, UINT nBrushes
);
192 IntGetSysColorPens(HPEN
*Pens
, UINT nPens
);
195 IntGetSysColors(COLORREF
*Colors
, UINT nColors
);
200 IntGdiGetDeviceCaps(PDC dc
, INT Index
);
202 int STDCALL
IntGdiExtSelectClipRgn (PDC dc
, HRGN hrgn
, int fnMode
);
214 IntEnumDisplaySettings(
215 IN PUNICODE_STRING pDeviceName OPTIONAL
,
217 IN OUT LPDEVMODEW pDevMode
,
222 IntChangeDisplaySettings(
223 IN PUNICODE_STRING pDeviceName OPTIONAL
,
224 IN LPDEVMODEW pDevMode
,
226 IN PVOID lParam OPTIONAL
);
228 #endif /* _WIN32K_INTGDI_H */