20#ifndef INCLUDED_VCL_BITMAPEX_HXX
21#define INCLUDED_VCL_BITMAPEX_HXX
35namespace basegfx {
class BColorModifierStack; }
42 explicit BitmapEx(
const OUString& rIconName );
62 const Point& rDestPt )
const;
64 const Point& rDestPt,
const Size& rDestSize )
const;
66 Bitmap GetBitmap(
Color aTransparentReplaceColor )
const;
68 const Bitmap& GetBitmap()
const;
74 void SetSizePixel(
const Size& rNewSize);
84 return maBitmap.getPixelFormat();
87 sal_Int64 GetSizeBytes()
const;
127 sal_Int32 nDX, sal_Int32 nDY,
128 bool bExpandTransparent =
false );
193 const Size& rNewSize,
210 const double& rScaleX,
211 const double& rScaleY,
229 const Color& rFillColor );
240 const Color& rSearchColor,
241 const Color& rReplaceColor );
257 const Color& rSearchColor,
258 const Color& rReplaceColor,
278 const Color* pSearchColors,
279 const Color* pReplaceColors,
280 size_t nColorCount );
301 const Color* pSearchColors,
302 const Color* pReplaceColors,
308 void ReplaceTransparency(
const Color& rColor );
344 short nLuminancePercent,
345 short nContrastPercent,
346 short nChannelRPercent,
347 short nChannelGPercent,
348 short nChannelBPercent,
350 bool bInvert =
false,
351 bool msoBrightness =
false );
420 double fMaximumArea)
const;
435 const css::uno::Reference< css::rendering::XBitmapCanvas > &xBitmapCanvas,
440 void AdjustTransparency(
sal_uInt8 cTrans );
447 void GetColorModel(css::uno::Sequence< sal_Int32 >& rRGBPalette,
448 sal_uInt32& rnRedMask, sal_uInt32& rnGreenMask, sal_uInt32& rnBlueMask, sal_uInt32& rnAlphaMask, sal_uInt32& rnTransparencyIndex,
449 sal_uInt32& rnWidth, sal_uInt32& rnHeight,
sal_uInt8& rnBitCount);
454 void DumpAsPng(
const char* pFileName =
nullptr)
const;
465 void loadFromIconTheme(
const OUString& rIconName );
490 Color aColorBottomRight);
509 Color aColorTopRight,
510 Color aColorBottomRight,
511 Color aColorBottomLeft);
BitmapEx VCL_DLLPUBLIC createBlendFrame(const Size &rSize, sal_uInt8 nAlpha, Color aColorTopLeft, Color aColorBottomRight)
Create a blend frame as BitmapEx.
sal_uInt64 BitmapChecksum
BitmapEx & operator=(const Bitmap &rBitmap)
const AlphaMask & GetAlphaMask() const
BitmapEx & operator=(const BitmapEx &rBitmapEx)
void SetPrefMapMode(const MapMode &rPrefMapMode)
vcl::PixelFormat getPixelFormat() const
bool operator!=(const BitmapEx &rBitmapEx) const
SAL_DLLPRIVATE std::shared_ptr< SalBitmap > const & ImplGetBitmapSalBitmap() const
void SetPrefSize(const Size &rPrefSize)
BitmapEx(const BitmapEx &rBitmapEx)
const MapMode & GetPrefMapMode() const
const Size & GetPrefSize() const
const Size & GetSizePixel() const
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
void Clear(EHistoryType eHistory)
PixelFormat
Pixel format of the bitmap in bits per pixel.
bool operator==(const ItalicMatrix &a, const ItalicMatrix &b)