mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
5ba3469f7b
- merge r47350, slightly modified to get it the yarotows way svn path=/branches/reactos-yarotows/; revision=47366
256 lines
5.6 KiB
C
256 lines
5.6 KiB
C
#pragma once
|
|
|
|
#include "region.h"
|
|
|
|
/* Brush functions */
|
|
|
|
extern HDC hSystemBM;
|
|
extern HSEMAPHORE hsemDriverMgmt;
|
|
|
|
XLATEOBJ*
|
|
FASTCALL
|
|
IntCreateXlateForBlt(PDC pDCDest, PDC pDCSrc, SURFACE* pDestSurf, SURFACE* pSrcSurf);
|
|
|
|
HBRUSH APIENTRY
|
|
IntGdiCreateDIBBrush(
|
|
CONST BITMAPINFO *BitmapInfo,
|
|
UINT ColorSpec,
|
|
UINT BitmapInfoSize,
|
|
CONST VOID *PackedDIB);
|
|
|
|
HBRUSH APIENTRY
|
|
IntGdiCreateHatchBrush(
|
|
INT Style,
|
|
COLORREF Color);
|
|
|
|
HBRUSH APIENTRY
|
|
IntGdiCreatePatternBrush(
|
|
HBITMAP hBitmap);
|
|
|
|
HBRUSH APIENTRY
|
|
IntGdiCreateSolidBrush(
|
|
COLORREF Color);
|
|
|
|
HBRUSH APIENTRY
|
|
IntGdiCreateNullBrush(VOID);
|
|
|
|
BOOL FASTCALL
|
|
IntPatBlt(
|
|
PDC dc,
|
|
INT XLeft,
|
|
INT YLeft,
|
|
INT Width,
|
|
INT Height,
|
|
DWORD ROP,
|
|
PBRUSH BrushObj);
|
|
|
|
VOID FASTCALL
|
|
IntGdiSetSolidBrushColor(HBRUSH hBrush, COLORREF Color);
|
|
|
|
/* Pen functions */
|
|
|
|
HPEN APIENTRY
|
|
IntGdiExtCreatePen(DWORD, DWORD, IN ULONG, IN ULONG, IN ULONG_PTR, IN ULONG_PTR, DWORD, PULONG, IN ULONG, IN BOOL, IN OPTIONAL HBRUSH);
|
|
|
|
VOID FASTCALL
|
|
IntGdiSetSolidPenColor(HPEN hPen, COLORREF Color);
|
|
|
|
/* Line functions */
|
|
|
|
BOOL FASTCALL
|
|
IntGdiLineTo(DC *dc,
|
|
int XEnd,
|
|
int YEnd);
|
|
|
|
BOOL FASTCALL
|
|
IntGdiMoveToEx(DC *dc,
|
|
int X,
|
|
int Y,
|
|
LPPOINT Point,
|
|
BOOL BypassPath);
|
|
|
|
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,
|
|
PULONG 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);
|
|
|
|
/* Shape functions */
|
|
|
|
BOOL FASTCALL
|
|
IntGdiPolygon(PDC dc,
|
|
PPOINT UnsafePoints,
|
|
int Count);
|
|
|
|
BOOL FASTCALL
|
|
IntGdiPolyPolygon(DC *dc,
|
|
LPPOINT Points,
|
|
PULONG PolyCounts,
|
|
int Count);
|
|
|
|
BOOL
|
|
NTAPI
|
|
GreGradientFill(
|
|
HDC hdc,
|
|
PTRIVERTEX pVertex,
|
|
ULONG nVertex,
|
|
PVOID pMesh,
|
|
ULONG nMesh,
|
|
ULONG ulMode);
|
|
|
|
/* DC functions */
|
|
|
|
BOOL FASTCALL
|
|
IntGdiGetDCOrg(PDC pDC, PPOINTL pPointl);
|
|
|
|
INT FASTCALL
|
|
IntGdiGetObject(HANDLE handle, INT count, LPVOID buffer);
|
|
|
|
HDC FASTCALL
|
|
IntGdiCreateDC(PUNICODE_STRING Driver,
|
|
PUNICODE_STRING Device,
|
|
PVOID pUMdhpdev,
|
|
CONST PDEVMODEW InitData,
|
|
BOOL CreateAsIC);
|
|
|
|
/* Coord functions */
|
|
|
|
BOOL FASTCALL
|
|
IntGdiCombineTransform(LPXFORM XFormResult,
|
|
LPXFORM xform1,
|
|
LPXFORM xform2);
|
|
|
|
/* Stock objects */
|
|
|
|
BOOL FASTCALL
|
|
IntSetSysColors(UINT nColors, INT *Elements, COLORREF *Colors);
|
|
|
|
HGDIOBJ FASTCALL
|
|
IntGetSysColorBrush(INT Object);
|
|
|
|
DWORD FASTCALL
|
|
IntGetSysColor(INT nIndex);
|
|
|
|
/* Other Stuff */
|
|
|
|
INT
|
|
FASTCALL
|
|
IntGdiEscape(PDC dc,
|
|
INT Escape,
|
|
INT InSize,
|
|
LPCSTR InData,
|
|
LPVOID OutData);
|
|
|
|
NTSTATUS
|
|
FASTCALL
|
|
IntEnumDisplaySettings(
|
|
IN PUNICODE_STRING pDeviceName OPTIONAL,
|
|
IN DWORD iModeNum,
|
|
IN OUT LPDEVMODEW pDevMode,
|
|
IN DWORD dwFlags);
|
|
|
|
HBITMAP
|
|
FASTCALL
|
|
IntCreateCompatibleBitmap(PDC Dc,
|
|
INT Width,
|
|
INT Height);
|
|
|
|
HBITMAP APIENTRY
|
|
IntGdiCreateBitmap(
|
|
INT Width,
|
|
INT Height,
|
|
UINT Planes,
|
|
UINT BitsPixel,
|
|
IN OPTIONAL LPBYTE pBits);
|
|
|
|
HDC APIENTRY IntGdiGetDCState(HDC hDC);
|
|
|
|
WORD APIENTRY IntGdiSetHookFlags(HDC hDC, WORD Flags);
|
|
|
|
VOID APIENTRY IntGdiSetDCState ( HDC hDC, HDC hDCSave );
|
|
|
|
LONG APIENTRY IntSetBitmapBits(PSURFACE bmp, DWORD Bytes, IN PBYTE Bits);
|
|
|
|
LONG APIENTRY IntGetBitmapBits(PSURFACE bmp, DWORD Bytes, OUT PBYTE Bits);
|
|
|
|
UINT APIENTRY IntSetDIBColorTable(HDC hDC, UINT StartIndex, UINT Entries, CONST RGBQUAD *Colors);
|
|
|
|
UINT APIENTRY IntGetDIBColorTable(HDC hDC, UINT StartIndex, UINT Entries, RGBQUAD *Colors);
|
|
|
|
UINT APIENTRY
|
|
IntAnimatePalette(HPALETTE hPal, UINT StartIndex,
|
|
UINT NumEntries, CONST PPALETTEENTRY PaletteColors);
|
|
|
|
UINT APIENTRY
|
|
IntGetPaletteEntries(HPALETTE hpal,
|
|
UINT StartIndex,
|
|
UINT Entries,
|
|
LPPALETTEENTRY pe);
|
|
|
|
UINT APIENTRY
|
|
IntSetPaletteEntries(HPALETTE hpal,
|
|
UINT Start,
|
|
UINT Entries,
|
|
CONST LPPALETTEENTRY pe);
|
|
|
|
UINT APIENTRY
|
|
IntGetSystemPaletteEntries(HDC hDC,
|
|
UINT StartIndex,
|
|
UINT Entries,
|
|
LPPALETTEENTRY pe);
|
|
UINT APIENTRY
|
|
IntGetDIBColorTable(HDC hDC, UINT StartIndex, UINT Entries, RGBQUAD *Colors);
|
|
|
|
UINT APIENTRY
|
|
IntSetDIBColorTable(HDC hDC, UINT StartIndex, UINT Entries, CONST RGBQUAD *Colors);
|
|
|
|
BOOL APIENTRY
|
|
GreStretchBltMask(IN HDC hdcDst,
|
|
IN INT xDst,
|
|
IN INT yDst,
|
|
IN INT cxDst,
|
|
IN INT cyDst,
|
|
IN HDC hdcSrc,
|
|
IN INT xSrc,
|
|
IN INT ySrc,
|
|
IN INT cxSrc,
|
|
IN INT cySrc,
|
|
IN DWORD dwRop,
|
|
IN DWORD dwBackColor,
|
|
IN HDC hdcMask,
|
|
IN INT xMask,
|
|
IN INT yMask);
|