20#ifndef INCLUDED_VCL_BITMAPEX_HXX
21#define INCLUDED_VCL_BITMAPEX_HXX
35namespace basegfx {
class BColorModifierStack; }
42 explicit BitmapEx(
const OUString& rIconName );
61 const Point& rDestPt )
const;
63 const Point& rDestPt,
const Size& rDestSize )
const;
65 Bitmap GetBitmap(
Color aTransparentReplaceColor )
const;
67 const Bitmap& GetBitmap()
const;
73 void SetSizePixel(
const Size& rNewSize);
83 return maBitmap.getPixelFormat();
86 sal_Int64 GetSizeBytes()
const;
126 sal_Int32 nDX, sal_Int32 nDY,
127 bool bExpandTransparent =
false );
192 const Size& rNewSize,
209 const double& rScaleX,
210 const double& rScaleY,
228 const Color& rFillColor );
239 const Color& rSearchColor,
240 const Color& rReplaceColor );
256 const Color& rSearchColor,
257 const Color& rReplaceColor,
277 const Color* pSearchColors,
278 const Color* pReplaceColors,
279 size_t nColorCount );
300 const Color* pSearchColors,
301 const Color* pReplaceColors,
307 void ReplaceTransparency(
const Color& rColor );
343 short nLuminancePercent,
344 short nContrastPercent,
345 short nChannelRPercent,
346 short nChannelGPercent,
347 short nChannelBPercent,
349 bool bInvert =
false,
350 bool msoBrightness =
false );
419 double fMaximumArea)
const;
434 const css::uno::Reference< css::rendering::XBitmapCanvas > &xBitmapCanvas,
439 void AdjustTransparency(
sal_uInt8 cTrans );
446 void GetColorModel(css::uno::Sequence< sal_Int32 >& rRGBPalette,
447 sal_uInt32& rnRedMask, sal_uInt32& rnGreenMask, sal_uInt32& rnBlueMask, sal_uInt32& rnAlphaMask, sal_uInt32& rnTransparencyIndex,
448 sal_uInt32& rnWidth, sal_uInt32& rnHeight,
sal_uInt8& rnBitCount);
453 void DumpAsPng(
const char* pFileName =
nullptr)
const;
464 void loadFromIconTheme(
const OUString& rIconName );
489 Color aColorBottomRight);
508 Color aColorTopRight,
509 Color aColorBottomRight,
510 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...
Point Rotate(const Point &rPoint, Degree10 nOrientation, const Point &rOrigin)
void Clear(EHistoryType eHistory)
PixelFormat
Pixel format of the bitmap in bits per pixel.
bool operator==(const ItalicMatrix &a, const ItalicMatrix &b)