ReactOS  0.4.15-dev-439-g292f67a
BitBlt_MERGECOPY.c File Reference
#include "DibLib.h"
#include "DibLib_AllSrcBPP.h"
Include dependency graph for BitBlt_MERGECOPY.c:

Go to the source code of this file.

Macros

#define __USES_SOURCE   1
 
#define __USES_PATTERN   1
 
#define __USES_DEST   0
 
#define __USES_MASK   0
 
#define _DibDoRop(pBltData, M, D, S, P)   ROP_MERGECOPY(D,S,P)
 
#define __FUNCTIONNAME   BitBlt_MERGECOPY
 
#define __FUNCTIONNAME   BitBlt_MERGECOPY_Solid
 
#define __USES_SOLID_BRUSH   1
 

Functions

VOID FASTCALL Dib_BitBlt_MERGECOPY (PBLTDATA pBltData)
 

Macro Definition Documentation

◆ __FUNCTIONNAME [1/2]

#define __FUNCTIONNAME   BitBlt_MERGECOPY

Definition at line 15 of file BitBlt_MERGECOPY.c.

◆ __FUNCTIONNAME [2/2]

#define __FUNCTIONNAME   BitBlt_MERGECOPY_Solid

Definition at line 15 of file BitBlt_MERGECOPY.c.

◆ __USES_DEST

#define __USES_DEST   0

Definition at line 6 of file BitBlt_MERGECOPY.c.

◆ __USES_MASK

#define __USES_MASK   0

Definition at line 7 of file BitBlt_MERGECOPY.c.

◆ __USES_PATTERN

#define __USES_PATTERN   1

Definition at line 5 of file BitBlt_MERGECOPY.c.

◆ __USES_SOLID_BRUSH

#define __USES_SOLID_BRUSH   1

Definition at line 16 of file BitBlt_MERGECOPY.c.

◆ __USES_SOURCE

#define __USES_SOURCE   1

Definition at line 4 of file BitBlt_MERGECOPY.c.

◆ _DibDoRop

#define _DibDoRop (   pBltData,
  M,
  D,
  S,
  P 
)    ROP_MERGECOPY(D,S,P)

Definition at line 9 of file BitBlt_MERGECOPY.c.

Function Documentation

◆ Dib_BitBlt_MERGECOPY()

VOID FASTCALL Dib_BitBlt_MERGECOPY ( PBLTDATA  pBltData)

Definition at line 21 of file BitBlt_MERGECOPY.c.

22 {
23  /* Check for solid brush */
24  if (pBltData->ulSolidColor != 0xFFFFFFFF)
25  {
26  /* Use the solid version of PATCOPY! */
27  gapfnBitBlt_MERGECOPY_Solid[pBltData->siDst.iFormat][pBltData->siSrc.iFormat](pBltData);
28  }
29  else
30  {
31  /* Use the pattern version */
32  gapfnBitBlt_MERGECOPY[pBltData->siDst.iFormat][pBltData->siSrc.iFormat](pBltData);
33  }
34 }
SURFINFO siDst
ULONG iFormat
ULONG ulSolidColor
SURFINFO siSrc