Kaydet (Commit) 8c49dd4f authored tarafından Kai Ahrens's avatar Kai Ahrens

added ::CopyPixel method

üst 23ffea44
......@@ -2,9 +2,9 @@
*
* $RCSfile: alpha.cxx,v $
*
* $Revision: 1.1.1.1 $
* $Revision: 1.2 $
*
* last change: $Author: hr $ $Date: 2000-09-18 17:05:37 $
* last change: $Author: ka $ $Date: 2000-11-16 13:29:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -160,6 +160,14 @@ BOOL AlphaMask::Expand( ULONG nDX, ULONG nDY, BYTE* pInitTransparency )
// -----------------------------------------------------------------------------
BOOL AlphaMask::CopyPixel( const Rectangle& rRectDst, const Rectangle& rRectSrc,
const AlphaMask* pAlphaSrc )
{
return Bitmap::CopyPixel( rRectDst, rRectSrc, (Bitmap*) pAlphaSrc );
}
// -----------------------------------------------------------------------------
BOOL AlphaMask::Erase( BYTE cTransparency )
{
return Bitmap::Erase( Color( cTransparency, cTransparency, cTransparency ) );
......
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