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

#include <svpbmp.hxx>

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

Public Member Functions

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
 
- Public Member Functions inherited from SalBitmap
 SalBitmap ()
 
virtual ~SalBitmap ()
 
void DropScaledCache ()
 
virtual bool ConvertToGreyscale ()
 
void GetChecksum (BitmapChecksum &rChecksum) const
 
void InvalidateChecksum ()
 

Private Attributes

std::unique_ptr< BitmapBuffermpDIB
 

Additional Inherited Members

- Protected Member Functions inherited from SalBitmap
virtual void updateChecksum () const
 
- Protected Attributes inherited from SalBitmap
BitmapChecksum mnChecksum
 
bool mbChecksumValid
 

Detailed Description

Definition at line 27 of file svpbmp.hxx.

Constructor & Destructor Documentation

virtual SvpSalBitmap::~SvpSalBitmap ( )
overridevirtual

Member Function Documentation

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

Implements SalBitmap.

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 46 of file svpbmp.hxx.

virtual Size SvpSalBitmap::GetSize ( ) const
overridevirtual

Implements SalBitmap.

virtual bool SvpSalBitmap::GetSystemData ( BitmapSystemData rData)
overridevirtual

Implements SalBitmap.

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 29 of file svpbmp.hxx.


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