ReactOS 0.4.16-dev-2207-geb15453
xlateobj.h
Go to the documentation of this file.
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * PURPOSE: XLATEOBJ structures and functions
5 * FILE: win32ss/gdi/eng/xlateobj.h
6 * PROGRAMER: Timo Kreuzer
7 *
8 */
9
10struct _EXLATEOBJ;
11
13typedef
16 _In_ struct _EXLATEOBJ *pexlo,
18
19typedef struct _EXLATEOBJ
20{
22
24
28
30
31 union
32 {
34 struct
35 {
42 };
43 struct
44 {
50 };
52
54
60{
61 return ((PEXLATEOBJ)pxlo)->pfnXlate;
62}
63
64VOID
67 _Out_ PEXLATEOBJ pexlo,
68 _In_opt_ PPALETTE ppalSrc,
69 _In_opt_ PPALETTE ppalDst,
70 _In_ COLORREF crSrcBackColor,
71 _In_ COLORREF crDstBackColor,
72 _In_ COLORREF crDstForeColor);
73
74VOID
77 _Out_ PEXLATEOBJ pexlo,
78 _In_ PDC pdcSrc,
79 _In_ PDC pdcDst);
80
81VOID
84 _Out_ EXLATEOBJ* pexlo,
85 _In_ PDC pdcSrc,
86 _In_ PDC pdcDst,
87 _In_ COLORREF crBackColor);
88
89VOID
92 _Out_ PEXLATEOBJ pexlo,
93 _In_ PPALETTE ppalDst,
94 _In_ COLORREF crBackgroundClr,
95 _In_ COLORREF crForegroundClr);
96
97VOID
100 _Inout_ PEXLATEOBJ pexlo);
101
ULONG(FASTCALL * PFN_XLATE)(XLATEOBJ *pxlo, ULONG ulColor)
Definition: DibLib.h:23
#define _Notnull_
Definition: no_sal2.h:54
#define _Inout_
Definition: no_sal2.h:162
#define _Out_
Definition: no_sal2.h:160
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
#define _Function_class_(n)
Definition: no_sal2.h:398
#define FASTCALL
Definition: nt_native.h:50
long LONG
Definition: pedump.c:60
Definition: polytest.cpp:41
ULONG ulGreenShift
Definition: xlateobj.h:40
XLATEOBJ xlo
Definition: xlateobj.h:21
ULONG ulBlueMask
Definition: xlateobj.h:38
LONG lDeltaB
Definition: xlateobj.h:47
PPALETTE ppalDst
Definition: xlateobj.h:26
struct _EXLATEOBJ::@5436::@5440 ToMono
PPALETTE ppalSrc
Definition: xlateobj.h:25
ULONG ulGreenMask
Definition: xlateobj.h:37
ULONG ulBlueShift
Definition: xlateobj.h:41
ULONG ulRedMask
Definition: xlateobj.h:36
HANDLE hColorTransform
Definition: xlateobj.h:29
PFN_XLATE pfnXlate
Definition: xlateobj.h:23
PPALETTE ppalDstDc
Definition: xlateobj.h:27
ULONG ulRedShift
Definition: xlateobj.h:39
LONG lDeltaR
Definition: xlateobj.h:45
LONG lHalfDist
Definition: xlateobj.h:48
LONG lDeltaG
Definition: xlateobj.h:46
ULONG aulXlate[6]
Definition: xlateobj.h:33
#define NTAPI
Definition: typedefs.h:36
uint32_t ULONG
Definition: typedefs.h:59
#define FORCEINLINE
Definition: wdftypes.h:67
_In_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ * pxlo
Definition: winddi.h:3416
DWORD COLORREF
Definition: windef.h:100
VOID NTAPI EXLATEOBJ_vInitSrcMonoXlate(_Out_ PEXLATEOBJ pexlo, _In_ PPALETTE ppalDst, _In_ COLORREF crBackgroundClr, _In_ COLORREF crForegroundClr)
VOID NTAPI EXLATEOBJ_vCleanup(_Inout_ PEXLATEOBJ pexlo)
Definition: xlateobj.c:894
VOID NTAPI EXLATEOBJ_vInitXlateFromDCsEx(_Out_ EXLATEOBJ *pexlo, _In_ PDC pdcSrc, _In_ PDC pdcDst, _In_ COLORREF crBackColor)
Definition: xlateobj.c:849
_In_ ULONG iColor
Definition: xlateobj.h:17
EXLATEOBJ gexloTrivial
VOID NTAPI EXLATEOBJ_vInitXlateFromDCs(_Out_ PEXLATEOBJ pexlo, _In_ PDC pdcSrc, _In_ PDC pdcDst)
struct _EXLATEOBJ EXLATEOBJ
VOID NTAPI EXLATEOBJ_vInitialize(_Out_ PEXLATEOBJ pexlo, _In_opt_ PPALETTE ppalSrc, _In_opt_ PPALETTE ppalDst, _In_ COLORREF crSrcBackColor, _In_ COLORREF crDstBackColor, _In_ COLORREF crDstForeColor)
_Notnull_ FORCEINLINE PFN_XLATE XLATEOBJ_pfnXlate(_In_ XLATEOBJ *pxlo)
Definition: xlateobj.h:58
struct _EXLATEOBJ * PEXLATEOBJ