ReactOS 0.4.16-dev-297-gc569aee
SrcPatBlt.c File Reference
#include "DibLib.h"
#include "DibLib_AllSrcBPP.h"
Include dependency graph for SrcPatBlt.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 __FUNCTIONNAME   SrcPatBlt
 
#define _DibDoRop(pBltData, M, D, S, P)   pBltData->apfnDoRop[0](0,S,P)
 
#define __FUNCTIONNAME   SrcPatBlt_Solid
 
#define __USES_SOLID_BRUSH   1
 

Functions

VOID FASTCALL Dib_SrcPatBlt (PBLTDATA pBltData)
 

Macro Definition Documentation

◆ __FUNCTIONNAME [1/2]

#define __FUNCTIONNAME   SrcPatBlt

Definition at line 16 of file SrcPatBlt.c.

◆ __FUNCTIONNAME [2/2]

#define __FUNCTIONNAME   SrcPatBlt_Solid

Definition at line 16 of file SrcPatBlt.c.

◆ __USES_DEST

#define __USES_DEST   0

Definition at line 6 of file SrcPatBlt.c.

◆ __USES_MASK

#define __USES_MASK   0

Definition at line 7 of file SrcPatBlt.c.

◆ __USES_PATTERN

#define __USES_PATTERN   1

Definition at line 5 of file SrcPatBlt.c.

◆ __USES_SOLID_BRUSH

#define __USES_SOLID_BRUSH   1

Definition at line 17 of file SrcPatBlt.c.

◆ __USES_SOURCE

#define __USES_SOURCE   1

Definition at line 4 of file SrcPatBlt.c.

◆ _DibDoRop

#define _DibDoRop (   pBltData,
  M,
  D,
  S,
  P 
)    pBltData->apfnDoRop[0](0,S,P)

Definition at line 11 of file SrcPatBlt.c.

Function Documentation

◆ Dib_SrcPatBlt()

VOID FASTCALL Dib_SrcPatBlt ( PBLTDATA  pBltData)

Definition at line 22 of file SrcPatBlt.c.

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