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

#include <salbmp.h>

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

Public Member Functions

void ImplRemovedFromCache ()
 
SAL_DLLPRIVATE bool ImplCreateFromDrawable (Drawable aDrawable, SalX11Screen nXScreen, long nDrawableDepth, long nX, long nY, long nWidth, long nHeight)
 
SAL_DLLPRIVATE XImage * ImplCreateXImage (SalDisplay const *pSalDisp, SalX11Screen nXScreen, long nDepth, const SalTwoRect &rTwoRect) const
 
SAL_DLLPRIVATE ImplSalDDBImplGetDDB (Drawable, SalX11Screen nXScreen, long nDrawableDepth, const SalTwoRect &) const
 
void ImplDraw (Drawable aDrawable, SalX11Screen nXScreen, long nDrawableDepth, const SalTwoRect &rTwoRect, const GC &rGC) const
 
 X11SalBitmap ()
 
virtual ~X11SalBitmap () 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
 
virtual void Destroy () 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 ()
 

Static Public Member Functions

static void ImplCreateCache ()
 
static void ImplDestroyCache ()
 

Static Public Attributes

static ImplSalBitmapCachempCache
 
static unsigned int mnCacheInstCount
 

Static Private Member Functions

static std::unique_ptr< BitmapBufferImplCreateDIB (const Size &rSize, sal_uInt16 nBitCount, const BitmapPalette &rPal)
 
static std::unique_ptr< BitmapBufferImplCreateDIB (Drawable aDrawable, SalX11Screen nXScreen, long nDrawableDepth, long nX, long nY, long nWidth, long nHeight, bool bGrey)
 

Private Attributes

std::unique_ptr< BitmapBuffermpDIB
 
std::unique_ptr< ImplSalDDBmpDDB
 
bool mbGrey
 

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 37 of file unx/salbmp.h.

Constructor & Destructor Documentation

X11SalBitmap::X11SalBitmap ( )
virtual X11SalBitmap::~X11SalBitmap ( )
overridevirtual

Member Function Documentation

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

Implements SalBitmap.

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

Implements SalBitmap.

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

Implements SalBitmap.

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

Implements SalBitmap.

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

Implements SalBitmap.

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

Implements SalBitmap.

virtual void X11SalBitmap::Destroy ( )
overridevirtual

Implements SalBitmap.

virtual sal_uInt16 X11SalBitmap::GetBitCount ( ) const
overridevirtual

Implements SalBitmap.

virtual Size X11SalBitmap::GetSize ( ) const
overridevirtual

Implements SalBitmap.

virtual bool X11SalBitmap::GetSystemData ( BitmapSystemData rData)
overridevirtual

Implements SalBitmap.

static void X11SalBitmap::ImplCreateCache ( )
static
static std::unique_ptr<BitmapBuffer> X11SalBitmap::ImplCreateDIB ( const Size rSize,
sal_uInt16  nBitCount,
const BitmapPalette rPal 
)
staticprivate
static std::unique_ptr<BitmapBuffer> X11SalBitmap::ImplCreateDIB ( Drawable  aDrawable,
SalX11Screen  nXScreen,
long  nDrawableDepth,
long  nX,
long  nY,
long  nWidth,
long  nHeight,
bool  bGrey 
)
staticprivate
SAL_DLLPRIVATE bool X11SalBitmap::ImplCreateFromDrawable ( Drawable  aDrawable,
SalX11Screen  nXScreen,
long  nDrawableDepth,
long  nX,
long  nY,
long  nWidth,
long  nHeight 
)
SAL_DLLPRIVATE XImage* X11SalBitmap::ImplCreateXImage ( SalDisplay const *  pSalDisp,
SalX11Screen  nXScreen,
long  nDepth,
const SalTwoRect rTwoRect 
) const
static void X11SalBitmap::ImplDestroyCache ( )
static
void X11SalBitmap::ImplDraw ( Drawable  aDrawable,
SalX11Screen  nXScreen,
long  nDrawableDepth,
const SalTwoRect rTwoRect,
const GC &  rGC 
) const
SAL_DLLPRIVATE ImplSalDDB* X11SalBitmap::ImplGetDDB ( Drawable  ,
SalX11Screen  nXScreen,
long  nDrawableDepth,
const SalTwoRect  
) const
void X11SalBitmap::ImplRemovedFromCache ( )
virtual void X11SalBitmap::ReleaseBuffer ( BitmapBuffer pBuffer,
BitmapAccessMode  nMode 
)
overridevirtual

Implements SalBitmap.

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

Implements SalBitmap.

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

Implements SalBitmap.

virtual bool X11SalBitmap::ScalingSupported ( ) const
overridevirtual

Implements SalBitmap.

Member Data Documentation

bool X11SalBitmap::mbGrey
private

Definition at line 73 of file unx/salbmp.h.

unsigned int X11SalBitmap::mnCacheInstCount
static

Definition at line 63 of file unx/salbmp.h.

ImplSalBitmapCache* X11SalBitmap::mpCache
static

Definition at line 62 of file unx/salbmp.h.

std::unique_ptr<ImplSalDDB> X11SalBitmap::mpDDB
mutableprivate

Definition at line 72 of file unx/salbmp.h.

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

Definition at line 71 of file unx/salbmp.h.


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