LibreOffice Module vcl (master) 1
|
#include <salbmp.h>
Public Member Functions | |
void | ImplRemovedFromCache () |
bool | ImplCreateFromDrawable (Drawable aDrawable, SalX11Screen nXScreen, tools::Long nDrawableDepth, tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight) |
XImage * | ImplCreateXImage (SalDisplay const *pSalDisp, SalX11Screen nXScreen, tools::Long nDepth, const SalTwoRect &rTwoRect) const |
ImplSalDDB * | ImplGetDDB (Drawable, SalX11Screen nXScreen, tools::Long nDrawableDepth, const SalTwoRect &) const |
void | ImplDraw (Drawable aDrawable, SalX11Screen nXScreen, tools::Long nDrawableDepth, const SalTwoRect &rTwoRect, const GC &rGC) const |
X11SalBitmap () | |
virtual | ~X11SalBitmap () override |
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 ePixelFormat) 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 BitmapBuffer * | AcquireBuffer (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 |
![]() | |
SalBitmap () | |
virtual | ~SalBitmap () |
virtual bool | Create (const Size &rSize, vcl::PixelFormat ePixelFormat, const BitmapPalette &rPal)=0 |
virtual bool | Create (const SalBitmap &rSalBmp)=0 |
virtual bool | Create (const SalBitmap &rSalBmp, SalGraphics *pGraphics)=0 |
virtual bool | Create (const SalBitmap &rSalBmp, vcl::PixelFormat eNewPixelFormat)=0 |
virtual bool | Create (const css::uno::Reference< css::rendering::XBitmapCanvas > &rBitmapCanvas, Size &rSize, bool bMask=false)=0 |
virtual void | Destroy ()=0 |
virtual Size | GetSize () const =0 |
virtual sal_uInt16 | GetBitCount () const =0 |
virtual BitmapBuffer * | AcquireBuffer (BitmapAccessMode nMode)=0 |
virtual void | ReleaseBuffer (BitmapBuffer *pBuffer, BitmapAccessMode nMode)=0 |
virtual bool | GetSystemData (BitmapSystemData &rData)=0 |
virtual bool | ScalingSupported () const =0 |
virtual bool | Scale (const double &rScaleX, const double &rScaleY, BmpScaleFlag nScaleFlag)=0 |
void | DropScaledCache () |
virtual bool | Replace (const Color &rSearchColor, const Color &rReplaceColor, sal_uInt8 nTol)=0 |
virtual bool | ConvertToGreyscale () |
virtual bool | InterpretAs8Bit () |
virtual bool | Erase (const Color &) |
virtual bool | AlphaBlendWith (const SalBitmap &) |
BitmapChecksum | GetChecksum () const |
void | InvalidateChecksum () |
Static Public Member Functions | |
static void | ImplCreateCache () |
static void | ImplDestroyCache () |
Static Public Attributes | |
static ImplSalBitmapCache * | mpCache |
static unsigned int | mnCacheInstCount |
Static Private Member Functions | |
static std::unique_ptr< BitmapBuffer > | ImplCreateDIB (const Size &rSize, vcl::PixelFormat ePixelFormat, const BitmapPalette &rPal) |
static std::unique_ptr< BitmapBuffer > | ImplCreateDIB (Drawable aDrawable, SalX11Screen nXScreen, tools::Long nDrawableDepth, tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, bool bGrey) |
Private Attributes | |
std::unique_ptr< BitmapBuffer > | mpDIB |
std::unique_ptr< ImplSalDDB > | mpDDB |
bool | mbGrey |
Additional Inherited Members | |
![]() | |
enum class | BitConvert { A8 , RGBA , BGRA , LAST = BGRA } |
![]() | |
void | updateChecksum () const |
![]() | |
static std::unique_ptr< sal_uInt8[] > | convertDataBitCount (const sal_uInt8 *src, int width, int height, int bitCount, int bytesPerRow, const BitmapPalette &palette, BitConvert type) |
![]() | |
BitmapChecksum | mnChecksum |
bool | mbChecksumValid |
Definition at line 37 of file unx/salbmp.h.
X11SalBitmap::X11SalBitmap | ( | ) |
|
overridevirtual |
|
overridevirtual |
Implements SalBitmap.
|
overridevirtual |
Implements SalBitmap.
|
overridevirtual |
Implements SalBitmap.
|
overridevirtual |
Implements SalBitmap.
|
overridevirtual |
Implements SalBitmap.
|
overridevirtual |
Implements SalBitmap.
|
overridevirtual |
Implements SalBitmap.
|
overridevirtual |
Implements SalBitmap.
|
overridevirtual |
Implements SalBitmap.
|
static |
|
staticprivate |
|
staticprivate |
bool X11SalBitmap::ImplCreateFromDrawable | ( | Drawable | aDrawable, |
SalX11Screen | nXScreen, | ||
tools::Long | nDrawableDepth, | ||
tools::Long | nX, | ||
tools::Long | nY, | ||
tools::Long | nWidth, | ||
tools::Long | nHeight | ||
) |
XImage * X11SalBitmap::ImplCreateXImage | ( | SalDisplay const * | pSalDisp, |
SalX11Screen | nXScreen, | ||
tools::Long | nDepth, | ||
const SalTwoRect & | rTwoRect | ||
) | const |
|
static |
void X11SalBitmap::ImplDraw | ( | Drawable | aDrawable, |
SalX11Screen | nXScreen, | ||
tools::Long | nDrawableDepth, | ||
const SalTwoRect & | rTwoRect, | ||
const GC & | rGC | ||
) | const |
ImplSalDDB * X11SalBitmap::ImplGetDDB | ( | Drawable | , |
SalX11Screen | nXScreen, | ||
tools::Long | nDrawableDepth, | ||
const SalTwoRect & | |||
) | const |
void X11SalBitmap::ImplRemovedFromCache | ( | ) |
|
overridevirtual |
Implements SalBitmap.
|
overridevirtual |
Implements SalBitmap.
|
overridevirtual |
Implements SalBitmap.
|
overridevirtual |
Implements SalBitmap.
|
private |
Definition at line 73 of file unx/salbmp.h.
|
static |
Definition at line 63 of file unx/salbmp.h.
|
static |
Definition at line 62 of file unx/salbmp.h.
|
mutableprivate |
Definition at line 72 of file unx/salbmp.h.
|
private |
Definition at line 71 of file unx/salbmp.h.