20 #ifndef INCLUDED_VCL_BITMAPEX_HXX
21 #define INCLUDED_VCL_BITMAPEX_HXX
35 namespace basegfx {
class BColorModifierStack; }
49 explicit BitmapEx(
const OUString& rIconName );
68 const Point& rDestPt )
const;
70 const Point& rDestPt,
const Size& rDestSize )
const;
72 bool IsTransparent()
const;
75 Bitmap GetBitmap(
Color aTransparentReplaceColor )
const;
77 const Bitmap& GetBitmap()
const;
84 void SetSizePixel(
const Size& rNewSize);
94 return maBitmap.getPixelFormat();
138 bool bExpandTransparent =
false );
203 const Size& rNewSize,
220 const double& rScaleX,
221 const double& rScaleY,
239 const Color& rFillColor );
250 const Color& rSearchColor,
251 const Color& rReplaceColor );
267 const Color& rSearchColor,
268 const Color& rReplaceColor,
288 const Color* pSearchColors,
289 const Color* pReplaceColors,
290 size_t nColorCount );
311 const Color* pSearchColors,
312 const Color* pReplaceColors,
318 void ReplaceTransparency(
const Color& rColor );
354 short nLuminancePercent,
355 short nContrastPercent,
356 short nChannelRPercent,
357 short nChannelGPercent,
358 short nChannelBPercent,
360 bool bInvert =
false,
361 bool msoBrightness =
false );
430 double fMaximumArea)
const;
438 BitmapEx ModifyBitmapEx(
const basegfx::BColorModifierStack& rBColorModifierStack)
const;
445 const css::uno::Reference< css::rendering::XBitmapCanvas > &xBitmapCanvas,
450 void AdjustTransparency(
sal_uInt8 cTrans );
457 void GetColorModel(css::uno::Sequence< sal_Int32 >& rRGBPalette,
458 sal_uInt32& rnRedMask, sal_uInt32& rnGreenMask, sal_uInt32& rnBlueMask, sal_uInt32& rnAlphaMask, sal_uInt32& rnTransparencyIndex,
459 sal_uInt32& rnWidth, sal_uInt32& rnHeight,
sal_uInt8& rnBitCount);
462 SAL_DLLPRIVATE std::shared_ptr<SalBitmap>
const &
ImplGetMaskSalBitmap()
const {
return maMask.ImplGetSalBitmap(); }
474 void loadFromIconTheme(
const OUString& rIconName );
502 Color aColorBottomRight);
521 Color aColorTopRight,
522 Color aColorBottomRight,
523 Color aColorBottomLeft);
525 #endif // INCLUDED_VCL_BITMAPEX_HXX
PixelFormat
Pixel format of the bitmap in bits per pixel.
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_DLLPRIVATE std::shared_ptr< SalBitmap > const & ImplGetMaskSalBitmap() const
SAL_DLLPRIVATE std::shared_ptr< SalBitmap > const & ImplGetBitmapSalBitmap() 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
vcl::PixelFormat getPixelFormat() const