ReactOS 0.4.16-dev-297-gc569aee
BitBlt_NOTPATCOPY.c File Reference
#include "DibLib.h"
#include "DibLib_AllDstBPP.h"
Include dependency graph for BitBlt_NOTPATCOPY.c:

Go to the source code of this file.

Macros

#define __USES_SOURCE   0
 
#define __USES_PATTERN   1
 
#define __USES_DEST   0
 
#define __USES_MASK   0
 
#define __FUNCTIONNAME   BitBlt_NOTPATCOPY
 
#define _DibDoRop(pBltData, M, D, S, P)   (~(P))
 

Functions

VOID FASTCALL Dib_BitBlt_NOTPATCOPY (PBLTDATA pBltData)
 

Variables

PFN_DIBFUNCTION gapfnBitBlt_PATCOPY_Solid []
 

Macro Definition Documentation

◆ __FUNCTIONNAME

#define __FUNCTIONNAME   BitBlt_NOTPATCOPY

Definition at line 9 of file BitBlt_NOTPATCOPY.c.

◆ __USES_DEST

#define __USES_DEST   0

Definition at line 6 of file BitBlt_NOTPATCOPY.c.

◆ __USES_MASK

#define __USES_MASK   0

Definition at line 7 of file BitBlt_NOTPATCOPY.c.

◆ __USES_PATTERN

#define __USES_PATTERN   1

Definition at line 5 of file BitBlt_NOTPATCOPY.c.

◆ __USES_SOURCE

#define __USES_SOURCE   0

Definition at line 4 of file BitBlt_NOTPATCOPY.c.

◆ _DibDoRop

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

Definition at line 11 of file BitBlt_NOTPATCOPY.c.

Function Documentation

◆ Dib_BitBlt_NOTPATCOPY()

VOID FASTCALL Dib_BitBlt_NOTPATCOPY ( PBLTDATA  pBltData)

Definition at line 19 of file BitBlt_NOTPATCOPY.c.

20{
21 /* Check for solid brush */
22 if (pBltData->ulSolidColor != 0xFFFFFFFF)
23 {
24 /* Prepare inverted colot */
25 pBltData->ulSolidColor = ~pBltData->ulSolidColor;
26
27 /* Use the solid version of PATCOPY! */
28 gapfnBitBlt_PATCOPY_Solid[pBltData->siDst.iFormat](pBltData);
29 }
30 else
31 {
32 /* Use the pattern version */
33 gapfnBitBlt_NOTPATCOPY[pBltData->siDst.iFormat](pBltData);
34 }
35}
PFN_DIBFUNCTION gapfnBitBlt_PATCOPY_Solid[]
ULONG ulSolidColor
SURFINFO siDst
ULONG iFormat

Variable Documentation

◆ gapfnBitBlt_PATCOPY_Solid

PFN_DIBFUNCTION gapfnBitBlt_PATCOPY_Solid[]
extern