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

#include <Qt5Bitmap.hxx>

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

Public Member Functions

 Qt5Bitmap ()
 
 Qt5Bitmap (const QImage &rQImage)
 
const QImage * GetQImage () const
 
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
 
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< QImage > m_pImage
 
BitmapPalette m_aPalette
 
std::unique_ptr< sal_uInt8[]> m_pBuffer
 
Size m_aSize
 
sal_uInt32 m_nScanline
 

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 28 of file Qt5Bitmap.hxx.

Constructor & Destructor Documentation

Qt5Bitmap::Qt5Bitmap ( )
Qt5Bitmap::Qt5Bitmap ( const QImage &  rQImage)

Member Function Documentation

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

Implements SalBitmap.

virtual bool Qt5Bitmap::Create ( const Size rSize,
sal_uInt16  nBitCount,
const BitmapPalette rPal 
)
overridevirtual

Implements SalBitmap.

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

Implements SalBitmap.

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

Implements SalBitmap.

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

Implements SalBitmap.

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

Implements SalBitmap.

virtual void Qt5Bitmap::Destroy ( )
finaloverridevirtual

Implements SalBitmap.

virtual sal_uInt16 Qt5Bitmap::GetBitCount ( ) const
overridevirtual

Implements SalBitmap.

const QImage* Qt5Bitmap::GetQImage ( ) const
inline

Definition at line 42 of file Qt5Bitmap.hxx.

virtual Size Qt5Bitmap::GetSize ( ) const
overridevirtual

Implements SalBitmap.

virtual bool Qt5Bitmap::GetSystemData ( BitmapSystemData rData)
overridevirtual

Implements SalBitmap.

virtual void Qt5Bitmap::ReleaseBuffer ( BitmapBuffer pBuffer,
BitmapAccessMode  nMode 
)
overridevirtual

Implements SalBitmap.

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

Implements SalBitmap.

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

Implements SalBitmap.

virtual bool Qt5Bitmap::ScalingSupported ( ) const
overridevirtual

Implements SalBitmap.

Member Data Documentation

BitmapPalette Qt5Bitmap::m_aPalette
private

Definition at line 31 of file Qt5Bitmap.hxx.

Size Qt5Bitmap::m_aSize
private

Definition at line 35 of file Qt5Bitmap.hxx.

sal_uInt32 Qt5Bitmap::m_nScanline
private

Definition at line 36 of file Qt5Bitmap.hxx.

std::unique_ptr<sal_uInt8[]> Qt5Bitmap::m_pBuffer
private

Definition at line 34 of file Qt5Bitmap.hxx.

std::unique_ptr<QImage> Qt5Bitmap::m_pImage
private

Definition at line 30 of file Qt5Bitmap.hxx.


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