20 #ifndef INCLUDED_VCL_ALPHA_HXX
21 #define INCLUDED_VCL_ALPHA_HXX
50 Bitmap const & GetBitmap()
const;
55 void BlendWith(
const Bitmap& rOther);
68 friend class ::OutputDevice;
71 SAL_DLLPRIVATE
const Bitmap& ImplGetBitmap()
const;
72 SAL_DLLPRIVATE
void ImplSetBitmap(
const Bitmap& rBitmap );
76 #endif // INCLUDED_VCL_ALPHA_HXX
bool operator==(const AlphaMask &rAlphaMask) const
bool operator==(const Bitmap &rBitmap) const
BitmapReadAccess * AcquireReadAccess()
BitmapWriteAccess * AcquireAlphaWriteAccess()
This template handles BitmapAccess the RAII way.
AlphaMask & operator=(AlphaMask &&rAlphaMask) noexcept
bool operator!=(const Bitmap &rBitmap) const
Bitmap & operator=(const Bitmap &rBitmap)
BitmapReadAccess * AcquireAlphaReadAccess()
bool operator!=(const AlphaMask &rAlphaMask) const
vcl::ScopedBitmapAccess< BitmapReadAccess, AlphaMask,&AlphaMask::AcquireAlphaReadAccess > ScopedReadAccess
static void ReleaseAccess(BitmapInfoAccess *pAccess)
AlphaMask & operator=(const AlphaMask &rAlphaMask)
BitmapWriteAccess * AcquireWriteAccess()
bool Erase(const Color &rFillColor)
Fill the entire bitmap with the given color.
bool Replace(const Bitmap &rMask, const Color &rReplaceColor)
Replace all pixel where the given mask is on with the specified color.