38 , maSizePixel(rBitmapEx.GetSizePixel())
39 , maBitmapEx(rBitmapEx)
45 , maStockName(
std::move(aStockName))
51 , maSizePixel(rMetaFile.GetPrefSize())
61 sal_Int32 nScalePercentage = -1;
66 nScalePercentage = fScale * 100.0;
72 nScalePercentage, eScalingFlags))
82 OUString aFileName =
maStockName.replaceAt(nStart, nEnd - nStart,
u"");
83 if (!
ImageTree::get().loadImage(aFileName, aIconTheme, aBitmapEx,
true,
84 nScalePercentage, eScalingFlags))
87 " and " << aFileName <<
" at " << fScale);
98 rBitmapEx = aBitmapEx;
171 bool bAlphaMaskTransparent =
true;
174 bAlphaMaskTransparent =
false;
176 aVDev->SetOutputSizePixel(aTarget,
true, bAlphaMaskTransparent);
sal_uInt64 BitmapChecksum
const StyleSettings & GetStyleSettings() const
static const AllSettings & GetSettings()
Gets the application's settings.
BitmapChecksum GetChecksum() const
const Size & GetSizePixel() const
static bool Filter(BitmapEx &rBmpEx, BitmapFilter const &rFilter)
static VCL_DLLPUBLIC ImageTree & get()
BitmapChecksum maBitmapChecksum
BitmapEx const & getBitmapEx(bool bDisabled=false)
Legacy - the original bitmap.
BitmapEx maBitmapEx
Original bitmap - or cache of a potentially scaled bitmap.
BitmapEx maDisabledBitmapEx
Size maSizePixel
if non-empty: cached original size of maStockName else Size of maBitmap
Size getSizePixel()
get size in co-ordinates not scaled for HiDPI
bool loadStockAtScale(SalGraphics *pGraphics, BitmapEx &rBitmapEx)
BitmapEx const & getBitmapExForHiDPI(bool bDisabled, SalGraphics *pGraphics)
Taking account of HiDPI scaling.
ImplImage(const BitmapEx &rBitmapEx)
std::unique_ptr< GDIMetaFile > mxMetaFile
rare case of dynamically created Image contents
bool isEqual(const ImplImage &ref) const
OUString maStockName
If set - defines the bitmap via images.zip*.
virtual bool ShouldDownscaleIconsAtSurface(double *pScaleOut) const
constexpr tools::Long Height() const
constexpr tools::Long Width() const
OUString DetermineIconTheme() const
Determine which icon theme should be used.
#define SAL_WARN(area, stream)
VCL_DLLPUBLIC bool isAlphaMaskBlendingEnabled()
VCL_DLLPUBLIC bool isVCLSkiaEnabled()