20 #ifndef INCLUDED_VCL_INC_IMAGE_H
21 #define INCLUDED_VCL_INC_IMAGE_H
47 return maStockName.getLength() > 0;
65 return maSizePixel ==
Size();
69 #endif // INCLUDED_VCL_INC_IMAGE_H
sal_uInt64 BitmapChecksum
BitmapEx maBitmapEx
Original bitmap - or cache of a potentially scaled bitmap.
bool isEqual(const ImplImage &ref) const
OUString getStock() const
Size maSizePixel
if non-empty: cached original size of maStockName else Size of maBitmap
BitmapEx const & getBitmapExForHiDPI(bool bDisabled=false)
Taking account of HiDPI scaling.
OUString maStockName
If set - defines the bitmap via images.zip*.
BitmapChecksum maBitmapChecksum
BitmapEx const & getBitmapEx(bool bDisabled=false)
Legacy - the original bitmap.
bool loadStockAtScale(double fScale, BitmapEx &rBitmapEx)
ImplImage(const BitmapEx &rBitmapEx)
BitmapEx maDisabledBitmapEx
Size getSizePixel()
get size in co-ordinates not scaled for HiDPI