mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 14:21:50 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
36
win32ss/gdi/diblib/BitBlt_NOTPATCOPY.c
Normal file
36
win32ss/gdi/diblib/BitBlt_NOTPATCOPY.c
Normal file
|
@ -0,0 +1,36 @@
|
|||
|
||||
#include "DibLib.h"
|
||||
|
||||
#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))
|
||||
|
||||
#include "DibLib_AllDstBPP.h"
|
||||
|
||||
extern PFN_DIBFUNCTION gapfnBitBlt_PATCOPY_Solid[];
|
||||
|
||||
VOID
|
||||
FASTCALL
|
||||
Dib_BitBlt_NOTPATCOPY(PBLTDATA pBltData)
|
||||
{
|
||||
/* Check for solid brush */
|
||||
if (pBltData->ulSolidColor != 0xFFFFFFFF)
|
||||
{
|
||||
/* Prepare inverted colot */
|
||||
pBltData->ulSolidColor = ~pBltData->ulSolidColor;
|
||||
|
||||
/* Use the solid version of PATCOPY! */
|
||||
gapfnBitBlt_PATCOPY_Solid[pBltData->siDst.iFormat](pBltData);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Use the pattern version */
|
||||
gapfnBitBlt_NOTPATCOPY[pBltData->siDst.iFormat](pBltData);
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue