LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
SvpSalBitmap Class Referencefinal

#include <svpbmp.hxx>

Inheritance diagram for SvpSalBitmap:
[legend]
Collaboration diagram for SvpSalBitmap:
[legend]

Public Member Functions

 SvpSalBitmap ()
 
virtual ~SvpSalBitmap () override
 
virtual bool Create (const Size &rSize, sal_uInt16 nBitCount, const BitmapPalette &rPal) override
 
virtual bool Create (const SalBitmap &rSalBmp) override
 
virtual bool Create (const SalBitmap &rSalBmp, SalGraphics *pGraphics) override
 
virtual bool Create (const SalBitmap &rSalBmp, sal_uInt16 nNewBitCount) override
 
virtual bool Create (const css::uno::Reference< css::rendering::XBitmapCanvas > &rBitmapCanvas, Size &rSize, bool bMask=false) override
 
void Create (std::unique_ptr< BitmapBuffer > pBuf)
 
const BitmapBufferGetBuffer () const
 
virtual void Destroy () final override
 
virtual Size GetSize () const override
 
virtual sal_uInt16 GetBitCount () const override
 
virtual BitmapBufferAcquireBuffer (BitmapAccessMode nMode) override
 
virtual void ReleaseBuffer (BitmapBuffer *pBuffer, BitmapAccessMode nMode) override
 
virtual bool GetSystemData (BitmapSystemData &rData) override
 
virtual bool ScalingSupported () const override
 
virtual bool Scale (const double &rScaleX, const double &rScaleY, BmpScaleFlag nScaleFlag) override
 
virtual bool Replace (const Color &rSearchColor, const Color &rReplaceColor, sal_uInt8 nTol) override
 
template<class T >
std::shared_ptr< T > getSystemDependentData () const
 
template<class T , class... Args>
std::shared_ptr< T > addOrReplaceSystemDependentData (basegfx::SystemDependentDataManager &manager, Args &&...args) const
 
- Public Member Functions inherited from SalBitmap
 SalBitmap ()
 
virtual ~SalBitmap ()
 
void DropScaledCache ()
 
virtual bool ConvertToGreyscale ()
 
virtual bool InterpretAs8Bit ()
 
virtual bool Erase (const Color &)
 
void GetChecksum (BitmapChecksum &rChecksum) const
 
void InvalidateChecksum ()
 
- Public Member Functions inherited from basegfx::SystemDependentDataHolder
 SystemDependentDataHolder ()
 
virtual ~SystemDependentDataHolder ()
 
void addOrReplaceSystemDependentData (SystemDependentData_SharedPtr &rData)
 
SystemDependentData_SharedPtr getSystemDependentData (size_t hash_code) const
 

Private Attributes

std::unique_ptr< BitmapBuffermpDIB
 

Additional Inherited Members

- Protected Types inherited from SalBitmap
enum  BitConvert {
  BitConvert::A8,
  BitConvert::RGB,
  BitConvert::BGR,
  BitConvert::RGBA,
  BitConvert::BGRA
}
 
- Protected Member Functions inherited from SalBitmap
virtual void updateChecksum () const
 
- Static Protected Member Functions inherited from SalBitmap
static std::unique_ptr< sal_uInt8[] > convertDataBitCount (const sal_uInt8 *src, int width, int height, int bitCount, int bytesPerRow, const BitmapPalette &palette, BitConvert type)
 
- Protected Attributes inherited from SalBitmap
BitmapChecksum mnChecksum
 
bool mbChecksumValid
 

Detailed Description

Definition at line 28 of file svpbmp.hxx.

Constructor & Destructor Documentation

SvpSalBitmap::SvpSalBitmap ( )
virtual SvpSalBitmap::~SvpSalBitmap ( )
overridevirtual

Member Function Documentation

virtual BitmapBuffer* SvpSalBitmap::AcquireBuffer ( BitmapAccessMode  nMode)
overridevirtual

Implements SalBitmap.

template<class T , class... Args>
std::shared_ptr<T> SvpSalBitmap::addOrReplaceSystemDependentData ( basegfx::SystemDependentDataManager manager,
Args &&...  args 
) const
inline
virtual bool SvpSalBitmap::Create ( const Size rSize,
sal_uInt16  nBitCount,
const BitmapPalette rPal 
)
overridevirtual

Implements SalBitmap.

virtual bool SvpSalBitmap::Create ( const SalBitmap rSalBmp)
overridevirtual

Implements SalBitmap.

virtual bool SvpSalBitmap::Create ( const SalBitmap rSalBmp,
SalGraphics pGraphics 
)
overridevirtual

Implements SalBitmap.

virtual bool SvpSalBitmap::Create ( const SalBitmap rSalBmp,
sal_uInt16  nNewBitCount 
)
overridevirtual

Implements SalBitmap.

virtual bool SvpSalBitmap::Create ( const css::uno::Reference< css::rendering::XBitmapCanvas > &  rBitmapCanvas,
Size rSize,
bool  bMask = false 
)
overridevirtual

Implements SalBitmap.

void SvpSalBitmap::Create ( std::unique_ptr< BitmapBuffer pBuf)
virtual void SvpSalBitmap::Destroy ( )
finaloverridevirtual

Implements SalBitmap.

virtual sal_uInt16 SvpSalBitmap::GetBitCount ( ) const
overridevirtual

Implements SalBitmap.

const BitmapBuffer* SvpSalBitmap::GetBuffer ( ) const
inline

Definition at line 48 of file svpbmp.hxx.

virtual Size SvpSalBitmap::GetSize ( ) const
overridevirtual

Implements SalBitmap.

virtual bool SvpSalBitmap::GetSystemData ( BitmapSystemData rData)
overridevirtual

Implements SalBitmap.

template<class T >
std::shared_ptr<T> SvpSalBitmap::getSystemDependentData ( ) const
inline
virtual void SvpSalBitmap::ReleaseBuffer ( BitmapBuffer pBuffer,
BitmapAccessMode  nMode 
)
overridevirtual

Implements SalBitmap.

virtual bool SvpSalBitmap::Replace ( const Color rSearchColor,
const Color rReplaceColor,
sal_uInt8  nTol 
)
overridevirtual

Implements SalBitmap.

virtual bool SvpSalBitmap::Scale ( const double &  rScaleX,
const double &  rScaleY,
BmpScaleFlag  nScaleFlag 
)
overridevirtual

Implements SalBitmap.

virtual bool SvpSalBitmap::ScalingSupported ( ) const
overridevirtual

Implements SalBitmap.

Member Data Documentation

std::unique_ptr<BitmapBuffer> SvpSalBitmap::mpDIB
private

Definition at line 30 of file svpbmp.hxx.


The documentation for this class was generated from the following file: