4 #define __USES_SOURCE 0
5 #define __USES_PATTERN 1
9 #define __FUNCTIONNAME MaskPatPaint
11 #define _DibDoRop(pBltData, M, D, S, P) pBltData->apfnDoRop[M](D,0,P)
13 #include "DibLib_AllDstBPP.h"
16 #define __FUNCTIONNAME MaskPatPaint_Solid
17 #define __USES_SOLID_BRUSH 1
18 #include "DibLib_AllDstBPP.h"
22 Dib_MaskPatPaint(PBLTDATA pBltData
)
24 /* Check for solid brush */
25 if (pBltData
->ulSolidColor
!= 0xFFFFFFFF)
27 /* Use the solid version of PATCOPY! */
28 gapfnMaskPatPaint_Solid
[pBltData
->siDst
.iFormat
](pBltData
);
32 /* Use the pattern version */
33 gapfnMaskPatPaint
[pBltData
->siDst
.iFormat
](pBltData
);