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

#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, vcl::PixelFormat ePixelFormat, 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, vcl::PixelFormat eNewPixelFormat) 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 ()
 
virtual bool InterpretAs8Bit ()
 
virtual bool Erase (const Color &)
 
virtual bool AlphaBlendWith (const SalBitmap &)
 
void GetChecksum (BitmapChecksum &rChecksum) const
 
void InvalidateChecksum ()
 

Private Attributes

std::unique_ptr< QImage > m_pImage
 
BitmapPalette m_aPalette
 

Additional Inherited Members

- Protected Types inherited from SalBitmap
enum  BitConvert {
  BitConvert::A8,
  BitConvert::RGBA,
  BitConvert::BGRA,
  BitConvert::LAST = BGRA
}
 
- Protected Member Functions inherited from SalBitmap
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 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,
vcl::PixelFormat  ePixelFormat,
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,
vcl::PixelFormat  eNewPixelFormat 
)
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 37 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.

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: