20 #ifndef INCLUDED_VCL_BITMAPEX_HXX
21 #define INCLUDED_VCL_BITMAPEX_HXX
35 namespace basegfx {
class BColorModifierStack; }
49 explicit BitmapEx(
const OUString& rIconName );
69 const Point& rDestPt )
const;
71 const Point& rDestPt,
const Size& rDestSize )
const;
73 bool IsTransparent()
const;
76 Bitmap GetBitmap(
Color aTransparentReplaceColor )
const;
78 const Bitmap& GetBitmap()
const;
85 void SetSizePixel(
const Size& rNewSize);
95 sal_uInt16
GetBitCount()
const {
return maBitmap.GetBitCount(); }
137 bool bExpandTransparent =
false );
202 const Size& rNewSize,
219 const double& rScaleX,
220 const double& rScaleY,
238 const Color& rFillColor );
249 const Color& rSearchColor,
250 const Color& rReplaceColor );
266 const Color& rSearchColor,
267 const Color& rReplaceColor,
287 const Color* pSearchColors,
288 const Color* pReplaceColors,
289 size_t nColorCount );
310 const Color* pSearchColors,
311 const Color* pReplaceColors,
317 void ReplaceTransparency(
const Color& rColor );
353 short nLuminancePercent,
354 short nContrastPercent,
355 short nChannelRPercent,
356 short nChannelGPercent,
357 short nChannelBPercent,
359 bool bInvert =
false,
360 bool msoBrightness =
false );
429 double fMaximumArea)
const;
437 BitmapEx ModifyBitmapEx(
const basegfx::BColorModifierStack& rBColorModifierStack)
const;
444 const css::uno::Reference< css::rendering::XBitmapCanvas > &xBitmapCanvas,
449 void AdjustTransparency(
sal_uInt8 cTrans );
456 void GetColorModel(css::uno::Sequence< sal_Int32 >& rRGBPalette,
457 sal_uInt32& rnRedMask, sal_uInt32& rnGreenMask, sal_uInt32& rnBlueMask, sal_uInt32& rnAlphaMask, sal_uInt32& rnTransparencyIndex,
458 sal_uInt32& rnWidth, sal_uInt32& rnHeight,
sal_uInt8& rnBitCount);
461 SAL_DLLPRIVATE std::shared_ptr<SalBitmap>
const &
ImplGetMaskSalBitmap()
const {
return maMask.ImplGetSalBitmap(); }
473 void loadFromIconTheme(
const OUString& rIconName );
502 Color aColorBottomRight);
521 Color aColorTopRight,
522 Color aColorBottomRight,
523 Color aColorBottomLeft);
525 #endif // INCLUDED_VCL_BITMAPEX_HXX
BitmapEx & operator=(const Bitmap &rBitmap)
sal_uInt64 BitmapChecksum
const MapMode & GetPrefMapMode() const
void SetPrefMapMode(const MapMode &rPrefMapMode)
const Size & GetPrefSize() const
bool operator!=(const BitmapEx &rBitmapEx) const
Point Rotate(const Point &rPoint, Degree10 nOrientation, const Point &rOrigin)
bool operator==(const ItalicMatrix &a, const ItalicMatrix &b)
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
TransparentType GetTransparentType() const
sal_uInt16 GetBitCount() const
SAL_DLLPRIVATE std::shared_ptr< SalBitmap > const & ImplGetMaskSalBitmap() const
SAL_DLLPRIVATE std::shared_ptr< SalBitmap > const & ImplGetBitmapSalBitmap() const
const Color & GetTransparentColor() const
BitmapEx VCL_DLLPUBLIC createBlendFrame(const Size &rSize, sal_uInt8 nAlpha, Color aColorTopLeft, Color aColorBottomRight)
Create a blend frame as BitmapEx.
void SetPrefSize(const Size &rPrefSize)
TransparentType meTransparent
const Size & GetSizePixel() const