Kaydet (Commit) 04937a61 authored tarafından Chris Sherlock's avatar Chris Sherlock

vcl/source/outdev/blend.cxx - indent function in anonymous namespace

Change-Id: I0a82c500b06531ecce35984d7dc588bb9f7dbd04
üst eef0dd74
...@@ -52,7 +52,7 @@ namespace ...@@ -52,7 +52,7 @@ namespace
return sal_uInt8( c ); return sal_uInt8( c );
} }
inline BitmapColor lcl_AlphaBlend( int nX, int nY, inline BitmapColor lcl_AlphaBlend( int nX, int nY,
const long nMapX, const long nMapX,
const long nMapY, const long nMapY,
BitmapReadAccess* pP, BitmapReadAccess* pP,
...@@ -60,7 +60,7 @@ inline BitmapColor lcl_AlphaBlend( int nX, int nY, ...@@ -60,7 +60,7 @@ inline BitmapColor lcl_AlphaBlend( int nX, int nY,
BitmapReadAccess* pB, BitmapReadAccess* pB,
BitmapWriteAccess* pAlphaW, BitmapWriteAccess* pAlphaW,
sal_uInt8& nResAlpha ) sal_uInt8& nResAlpha )
{ {
BitmapColor aDstCol,aSrcCol; BitmapColor aDstCol,aSrcCol;
aSrcCol = pP->GetColor( nMapY, nMapX ); aSrcCol = pP->GetColor( nMapY, nMapX );
aDstCol = pB->GetColor( nY, nX ); aDstCol = pB->GetColor( nY, nX );
...@@ -80,7 +80,7 @@ inline BitmapColor lcl_AlphaBlend( int nX, int nY, ...@@ -80,7 +80,7 @@ inline BitmapColor lcl_AlphaBlend( int nX, int nY,
aDstCol.SetGreen( lcl_calcColor( aSrcCol.GetGreen(), nSrcAlpha, nDstAlpha, nResAlpha, aDstCol.GetGreen() ) ); aDstCol.SetGreen( lcl_calcColor( aSrcCol.GetGreen(), nSrcAlpha, nDstAlpha, nResAlpha, aDstCol.GetGreen() ) );
return aDstCol; return aDstCol;
} }
} }
Bitmap OutputDevice::ImplBlendWithAlpha( Bitmap aBmp, Bitmap OutputDevice::ImplBlendWithAlpha( Bitmap aBmp,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment