20#ifndef INCLUDED_VCL_INC_WIN_SALBMP_H
21#define INCLUDED_VCL_INC_WIN_SALBMP_H
66 using SystemDependentDataHolder::addOrReplaceSystemDependentData;
67 using SystemDependentDataHolder::getSystemDependentData;
76 virtual bool Create(
const css::uno::Reference< css::rendering::XBitmapCanvas >& rBitmapCanvas,
78 bool bMask =
false )
override;
90 virtual bool Scale(
const double& rScaleX,
const double& rScaleY,
BmpScaleFlag nScaleFlag )
override;
std::shared_ptr< T > getSystemDependentData() const
std::shared_ptr< T > addOrReplaceSystemDependentData(Args &&... args) const
std::shared_ptr< Gdiplus::Bitmap > ImplGetGdiPlusBitmap(const WinSalBitmap *pAlphaSource=nullptr) const
virtual bool Scale(const double &rScaleX, const double &rScaleY, BmpScaleFlag nScaleFlag) override
virtual BitmapBuffer * AcquireBuffer(BitmapAccessMode nMode) override
virtual sal_uInt16 GetBitCount() const override
virtual ~WinSalBitmap() override
virtual bool Create(const SalBitmap &rSalBmpImpl, vcl::PixelFormat eNewPixelFormat) override
virtual bool Replace(const Color &rSearchColor, const Color &rReplaceColor, sal_uInt8 nTol) override
HBITMAP ImplGethDDB() const
std::shared_ptr< Gdiplus::Bitmap > ImplCreateGdiPlusBitmap()
virtual bool Create(const SalBitmap &rSalBmpImpl) override
static HANDLE ImplCopyDIBOrDDB(HANDLE hHdl, bool bDIB)
virtual void ReleaseBuffer(BitmapBuffer *pBuffer, BitmapAccessMode nMode) override
virtual void Destroy() override
virtual bool Create(const css::uno::Reference< css::rendering::XBitmapCanvas > &rBitmapCanvas, Size &rSize, bool bMask=false) override
virtual bool Create(const SalBitmap &rSalBmpImpl, SalGraphics *pGraphics) override
virtual const basegfx::SystemDependentDataHolder * accessSystemDependentDataHolder() const override
HGLOBAL ImplGethDIB() const
virtual bool GetSystemData(BitmapSystemData &rData) override
static HGLOBAL ImplCreateDIB(const Size &rSize, vcl::PixelFormat ePixelFormat, const BitmapPalette &rPal)
static sal_uInt16 ImplGetDIBColorCount(HGLOBAL hDIB)
virtual Size GetSize() const override
virtual bool Create(const Size &rSize, vcl::PixelFormat ePixelFormat, const BitmapPalette &rPal) override
bool Create(HANDLE hBitmap)
std::shared_ptr< Gdiplus::Bitmap > ImplCreateGdiPlusBitmap(const WinSalBitmap &rAlphaSource)
virtual bool ScalingSupported() const override
PixelFormat
Pixel format of the bitmap in bits per pixel.