mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:45:40 +00:00
tabs->spaces reformat, no code change.
svn path=/trunk/; revision=26301
This commit is contained in:
parent
6b2c34484c
commit
39b3562b65
1 changed files with 1127 additions and 1127 deletions
|
@ -113,7 +113,7 @@ BltMask(SURFOBJ* Dest,
|
|||
BrushObject);
|
||||
|
||||
PatternBitmap = BITMAPOBJ_LockBitmap(GdiBrush->GdiBrushObject->hbmPattern);
|
||||
if(PatternBitmap != NULL)
|
||||
if (PatternBitmap != NULL)
|
||||
{
|
||||
PatternObj = &PatternBitmap->SurfObj;
|
||||
PatternWidth = PatternObj->sizlBitmap.cx;
|
||||
|
@ -129,7 +129,7 @@ BltMask(SURFOBJ* Dest,
|
|||
lMask = tMask;
|
||||
c8 = SourcePoint->x & 0x07;
|
||||
|
||||
if(PatternBitmap != NULL)
|
||||
if (PatternBitmap != NULL)
|
||||
PatternY = (DestRect->top + j) % PatternHeight;
|
||||
|
||||
for (i = 0; i < dx; i++)
|
||||
|
@ -220,7 +220,7 @@ CallDibBitBlt(SURFOBJ* OutputObj,
|
|||
if (ROP4_USES_PATTERN(Rop4) && Brush->iSolidColor == 0xFFFFFFFF)
|
||||
{
|
||||
GdiBrush = CONTAINING_RECORD(Brush, GDIBRUSHINST, BrushObject);
|
||||
if((bmPattern = BITMAPOBJ_LockBitmap(GdiBrush->GdiBrushObject->hbmPattern)))
|
||||
if ((bmPattern = BITMAPOBJ_LockBitmap(GdiBrush->GdiBrushObject->hbmPattern)))
|
||||
{
|
||||
BltInfo.PatternSurface = &bmPattern->SurfObj;
|
||||
}
|
||||
|
@ -414,7 +414,7 @@ EngBitBlt(SURFOBJ *DestObj,
|
|||
OutputRect.top += Translate.y;
|
||||
OutputRect.bottom += Translate.y;
|
||||
|
||||
if(BrushOrigin)
|
||||
if (BrushOrigin)
|
||||
{
|
||||
AdjustedBrushOrigin.x = BrushOrigin->x + Translate.x;
|
||||
AdjustedBrushOrigin.y = BrushOrigin->y + Translate.y;
|
||||
|
@ -451,7 +451,7 @@ EngBitBlt(SURFOBJ *DestObj,
|
|||
}
|
||||
|
||||
|
||||
switch(clippingType)
|
||||
switch (clippingType)
|
||||
{
|
||||
case DC_TRIVIAL:
|
||||
Ret = (*BltRectFunc)(OutputObj, InputObj, Mask, ColorTranslation,
|
||||
|
@ -515,7 +515,7 @@ EngBitBlt(SURFOBJ *DestObj,
|
|||
}
|
||||
}
|
||||
}
|
||||
while(EnumMore);
|
||||
while (EnumMore);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -726,7 +726,7 @@ EngStretchBlt(
|
|||
IN RECTL *prclSrc,
|
||||
IN POINTL *MaskOrigin,
|
||||
IN ULONG Mode
|
||||
)
|
||||
)
|
||||
{
|
||||
// www.osr.com/ddk/graphics/gdifncs_0bs7.htm
|
||||
|
||||
|
@ -1070,7 +1070,7 @@ EngAlphaBlend(IN SURFOBJ *Dest,
|
|||
|
||||
Ret = FALSE;
|
||||
ClippingType = (ClipRegion == NULL) ? DC_TRIVIAL : ClipRegion->iDComplexity;
|
||||
switch(ClippingType)
|
||||
switch (ClippingType)
|
||||
{
|
||||
case DC_TRIVIAL:
|
||||
Ret = DibFunctionsForBitmapFormat[OutputObj->iBitmapFormat].DIB_AlphaBlend(
|
||||
|
@ -1118,7 +1118,7 @@ EngAlphaBlend(IN SURFOBJ *Dest,
|
|||
}
|
||||
}
|
||||
}
|
||||
while(EnumMore);
|
||||
while (EnumMore);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -1388,7 +1388,7 @@ EngMaskBitBlt(SURFOBJ *DestObj,
|
|||
OutputRect.top = DestRect->top + Translate.y;
|
||||
OutputRect.bottom = DestRect->bottom + Translate.y;
|
||||
|
||||
if(BrushOrigin)
|
||||
if (BrushOrigin)
|
||||
{
|
||||
AdjustedBrushOrigin.x = BrushOrigin->x + Translate.x;
|
||||
AdjustedBrushOrigin.y = BrushOrigin->y + Translate.y;
|
||||
|
@ -1404,10 +1404,10 @@ EngMaskBitBlt(SURFOBJ *DestObj,
|
|||
clippingType = ClipRegion->iDComplexity;
|
||||
}
|
||||
|
||||
switch(clippingType)
|
||||
switch (clippingType)
|
||||
{
|
||||
case DC_TRIVIAL:
|
||||
if(Mask->iBitmapFormat == BMF_8BPP)
|
||||
if (Mask->iBitmapFormat == BMF_8BPP)
|
||||
Ret = AlphaBltMask(OutputObj, InputObj, Mask, DestColorTranslation, SourceColorTranslation,
|
||||
&OutputRect, &InputPoint, MaskOrigin, Brush, &AdjustedBrushOrigin);
|
||||
else
|
||||
|
@ -1425,7 +1425,7 @@ EngMaskBitBlt(SURFOBJ *DestObj,
|
|||
{
|
||||
Pt.x = InputPoint.x + CombinedRect.left - OutputRect.left;
|
||||
Pt.y = InputPoint.y + CombinedRect.top - OutputRect.top;
|
||||
if(Mask->iBitmapFormat == BMF_8BPP)
|
||||
if (Mask->iBitmapFormat == BMF_8BPP)
|
||||
{
|
||||
Ret = AlphaBltMask(OutputObj, InputObj, Mask, DestColorTranslation, SourceColorTranslation,
|
||||
&CombinedRect, &Pt, MaskOrigin, Brush, &AdjustedBrushOrigin);
|
||||
|
@ -1469,7 +1469,7 @@ EngMaskBitBlt(SURFOBJ *DestObj,
|
|||
{
|
||||
Pt.x = InputPoint.x + CombinedRect.left - OutputRect.left;
|
||||
Pt.y = InputPoint.y + CombinedRect.top - OutputRect.top;
|
||||
if(Mask->iBitmapFormat == BMF_8BPP)
|
||||
if (Mask->iBitmapFormat == BMF_8BPP)
|
||||
{
|
||||
Ret = AlphaBltMask(OutputObj, InputObj, Mask,
|
||||
DestColorTranslation,
|
||||
|
@ -1487,7 +1487,7 @@ EngMaskBitBlt(SURFOBJ *DestObj,
|
|||
}
|
||||
}
|
||||
}
|
||||
while(EnumMore);
|
||||
while (EnumMore);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue