ReactOS
0.4.16-dev-329-g9223134
PatPaint.c
Go to the documentation of this file.
1
2
#include "
DibLib.h
"
3
4
#define __USES_SOURCE 0
5
#define __USES_PATTERN 1
6
#define __USES_DEST 1
7
#define __USES_MASK 0
8
9
#define __FUNCTIONNAME PatPaint
10
11
#define _DibDoRop(pBltData, M, D, S, P) pBltData->apfnDoRop[0](D,0,P)
12
13
#include "
DibLib_AllDstBPP.h
"
14
15
#undef __FUNCTIONNAME
16
#define __FUNCTIONNAME PatPaint_Solid
17
#define __USES_SOLID_BRUSH 1
18
#include "
DibLib_AllDstBPP.h
"
19
20
VOID
21
FASTCALL
22
Dib_PatPaint
(
PBLTDATA
pBltData)
23
{
24
/* Check for solid brush */
25
if
(pBltData->
ulSolidColor
!= 0xFFFFFFFF)
26
{
27
/* Use the solid version of PATCOPY! */
28
gapfnPatPaint_Solid[pBltData->
siDst
.
iFormat
](pBltData);
29
}
30
else
31
{
32
/* Use the pattern version */
33
gapfnPatPaint[pBltData->
siDst
.
iFormat
](pBltData);
34
}
35
}
36
37
38
DibLib.h
DibLib_AllDstBPP.h
Dib_PatPaint
VOID FASTCALL Dib_PatPaint(PBLTDATA pBltData)
Definition:
PatPaint.c:22
void
Definition:
nsiface.idl:2307
FASTCALL
#define FASTCALL
Definition:
nt_native.h:50
BLTDATA
Definition:
DibLib_interface.h:16
BLTDATA::ulSolidColor
ULONG ulSolidColor
Definition:
DibLib_interface.h:30
BLTDATA::siDst
SURFINFO siDst
Definition:
DibLib_interface.h:18
SURFINFO::iFormat
ULONG iFormat
Definition:
DibLib_interface.h:6
win32ss
gdi
diblib
PatPaint.c
Generated on Sat Dec 7 2024 06:14:43 for ReactOS by
1.9.6