2003-12-12 15:47:37 +00:00
|
|
|
#ifndef _WIN32K_INTGDI_H
|
|
|
|
#define _WIN32K_INTGDI_H
|
|
|
|
|
|
|
|
/* Brush functions */
|
|
|
|
|
|
|
|
HBRUSH FASTCALL
|
|
|
|
IntGdiCreateBrushIndirect(PLOGBRUSH lb);
|
|
|
|
|
|
|
|
HBRUSH FASTCALL
|
2003-12-13 10:18:01 +00:00
|
|
|
IntGdiCreateDIBPatternBrush(HGLOBAL hDIBPacked,
|
|
|
|
UINT ColorSpec);
|
2003-12-12 15:47:37 +00:00
|
|
|
|
|
|
|
HBRUSH FASTCALL
|
2003-12-13 10:18:01 +00:00
|
|
|
IntGdiCreateDIBPatternBrushPt(CONST VOID *PackedDIB,
|
|
|
|
UINT Usage);
|
2003-12-12 15:47:37 +00:00
|
|
|
|
|
|
|
BOOL FASTCALL
|
2004-05-10 17:07:20 +00:00
|
|
|
IntPatBlt(
|
|
|
|
PDC dc,
|
|
|
|
INT XLeft,
|
|
|
|
INT YLeft,
|
|
|
|
INT Width,
|
|
|
|
INT Height,
|
|
|
|
DWORD ROP,
|
|
|
|
PGDIBRUSHOBJ BrushObj);
|
2003-12-12 15:47:37 +00:00
|
|
|
|
|
|
|
/* Pen functions */
|
|
|
|
|
|
|
|
HPEN FASTCALL
|
|
|
|
IntGdiCreatePenIndirect(PLOGPEN lgpn);
|
|
|
|
|
2003-12-13 10:18:01 +00:00
|
|
|
/* Line functions */
|
|
|
|
|
|
|
|
BOOL FASTCALL
|
|
|
|
IntGdiLineTo(DC *dc,
|
|
|
|
int XEnd,
|
|
|
|
int YEnd);
|
|
|
|
|
|
|
|
BOOL FASTCALL
|
|
|
|
IntGdiMoveToEx(DC *dc,
|
|
|
|
int X,
|
|
|
|
int Y,
|
|
|
|
LPPOINT Point);
|
|
|
|
|
|
|
|
BOOL FASTCALL
|
|
|
|
IntGdiPolyBezier(DC *dc,
|
|
|
|
LPPOINT pt,
|
|
|
|
DWORD Count);
|
|
|
|
|
|
|
|
BOOL FASTCALL
|
|
|
|
IntGdiPolyline(DC *dc,
|
|
|
|
LPPOINT pt,
|
|
|
|
int Count);
|
|
|
|
|
|
|
|
BOOL FASTCALL
|
|
|
|
IntGdiPolyBezierTo(DC *dc,
|
|
|
|
LPPOINT pt,
|
|
|
|
DWORD Count);
|
|
|
|
|
|
|
|
BOOL FASTCALL
|
|
|
|
IntGdiPolyPolyline(DC *dc,
|
|
|
|
LPPOINT pt,
|
|
|
|
LPDWORD PolyPoints,
|
|
|
|
DWORD Count);
|
|
|
|
|
|
|
|
BOOL FASTCALL
|
|
|
|
IntGdiPolylineTo(DC *dc,
|
|
|
|
LPPOINT pt,
|
|
|
|
DWORD Count);
|
|
|
|
|
|
|
|
BOOL FASTCALL
|
|
|
|
IntGdiArc(DC *dc,
|
|
|
|
int LeftRect,
|
|
|
|
int TopRect,
|
|
|
|
int RightRect,
|
|
|
|
int BottomRect,
|
|
|
|
int XStartArc,
|
|
|
|
int YStartArc,
|
|
|
|
int XEndArc,
|
|
|
|
int YEndArc);
|
|
|
|
|
|
|
|
INT FASTCALL
|
|
|
|
IntGdiGetArcDirection(DC *dc);
|
|
|
|
|
2003-12-13 10:57:29 +00:00
|
|
|
/* Shape functions */
|
|
|
|
|
|
|
|
BOOL FASTCALL
|
|
|
|
IntGdiPolygon(PDC dc,
|
|
|
|
PPOINT UnsafePoints,
|
|
|
|
int Count);
|
|
|
|
|
|
|
|
BOOL FASTCALL
|
|
|
|
IntGdiPolyPolygon(DC *dc,
|
|
|
|
LPPOINT Points,
|
|
|
|
LPINT PolyCounts,
|
|
|
|
int Count);
|
2003-12-12 15:47:37 +00:00
|
|
|
|
2003-12-13 12:12:41 +00:00
|
|
|
/* Rgn functions */
|
|
|
|
|
|
|
|
int FASTCALL
|
|
|
|
IntGdiGetClipBox(HDC hDC,
|
|
|
|
LPRECT rc);
|
|
|
|
|
2004-04-24 14:21:37 +00:00
|
|
|
HRGN FASTCALL REGION_CropRgn(HRGN hDst, HRGN hSrc, const PRECT lpRect, PPOINT lpPt);
|
2004-05-16 09:51:27 +00:00
|
|
|
void FASTCALL REGION_UnionRectWithRegion(const RECT *rect, ROSRGNDATA *rgn);
|
2004-04-24 14:21:37 +00:00
|
|
|
INT FASTCALL UnsafeIntGetRgnBox(PROSRGNDATA Rgn, LPRECT pRect);
|
|
|
|
BOOL FASTCALL UnsafeIntRectInRegion(PROSRGNDATA Rgn, CONST LPRECT rc);
|
|
|
|
|
2004-05-16 09:51:27 +00:00
|
|
|
#define UnsafeIntCreateRectRgnIndirect(prc) \
|
|
|
|
NtGdiCreateRectRgn((prc)->left, (prc)->top, (prc)->right, (prc)->bottom)
|
|
|
|
|
|
|
|
#define UnsafeIntUnionRectWithRgn(rgndest, prc) \
|
|
|
|
REGION_UnionRectWithRegion((prc), (rgndest))
|
|
|
|
|
2003-12-13 13:45:18 +00:00
|
|
|
/* DC functions */
|
|
|
|
|
|
|
|
BOOL FASTCALL
|
|
|
|
IntGdiGetDCOrgEx(DC *dc, LPPOINT Point);
|
|
|
|
|
|
|
|
INT FASTCALL
|
|
|
|
IntGdiGetObject(HANDLE handle, INT count, LPVOID buffer);
|
|
|
|
|
2003-12-13 15:49:32 +00:00
|
|
|
HDC FASTCALL
|
|
|
|
IntGdiCreateDC(PUNICODE_STRING Driver,
|
|
|
|
PUNICODE_STRING Device,
|
|
|
|
PUNICODE_STRING Output,
|
|
|
|
CONST PDEVMODEW InitData);
|
|
|
|
|
2004-04-25 20:05:30 +00:00
|
|
|
COLORREF FASTCALL
|
|
|
|
IntGetDCColor(HDC hDC, ULONG Object);
|
|
|
|
|
|
|
|
COLORREF FASTCALL
|
|
|
|
IntSetDCColor(HDC hDC, ULONG Object, COLORREF Color);
|
|
|
|
|
2004-01-04 21:26:59 +00:00
|
|
|
/* Coord functions */
|
|
|
|
|
|
|
|
BOOL FASTCALL
|
|
|
|
IntGdiCombineTransform(LPXFORM XFormResult,
|
|
|
|
LPXFORM xform1,
|
|
|
|
LPXFORM xform2);
|
|
|
|
|
2003-12-12 15:47:37 +00:00
|
|
|
#endif /* _WIN32K_INTGDI_H */
|
|
|
|
|