23#include <rtl/strbuf.hxx>
35 if (rVectorGraphicDataPtr)
39 mnID1 |= rVectorGraphicDataPtr->getBinaryDataContainer().getSize();
43 rVectorGraphicDataPtr->getBinaryDataContainer().getSize());
77 static const char aHexData[]
78 = {
'0',
'1',
'2',
'3',
'4',
'5',
'6',
'7',
'8',
'9',
'A',
'B',
'C',
'D',
'E',
'F' };
80 sal_Int32 nShift,
nIndex = 0;
82 OStringBuffer aHexStr(nLen);
83 aHexStr.setLength(nLen);
85 for (nShift = 28; nShift >= 0; nShift -= 4)
86 aHexStr[
nIndex++] = aHexData[(
mnID1 >>
static_cast<sal_uInt32
>(nShift)) & 0xf];
88 for (nShift = 28; nShift >= 0; nShift -= 4)
89 aHexStr[
nIndex++] = aHexData[(
mnID2 >>
static_cast<sal_uInt32
>(nShift)) & 0xf];
91 for (nShift = 28; nShift >= 0; nShift -= 4)
92 aHexStr[
nIndex++] = aHexData[(
mnID3 >>
static_cast<sal_uInt32
>(nShift)) & 0xf];
95 aHexStr[
nIndex++] = aHexData[(
mnID4 >>
static_cast<sal_uInt32
>(nShift)) & 0xf];
97 return aHexStr.makeStringAndClear();
#define BITMAP_CHECKSUM_SIZE
BitmapChecksum vcl_get_checksum(BitmapChecksum Checksum, const void *Data, sal_uInt32 DatLen)
const Size & GetDisplaySizePixel() const
const Size & GetSizePixel() const
OString getIDString() const
GraphicID(ImpGraphic const &rGraphic)
BitmapEx getBitmapEx(const GraphicConversionParameters &rParameters) const
BitmapChecksum getChecksum() const
const std::shared_ptr< VectorGraphicData > & getVectorGraphicData() const
Animation getAnimation() const
bool ensureAvailable() const
const GDIMetaFile & getGDIMetaFile() const
GraphicType getType() const
constexpr tools::Long Height() const
constexpr tools::Long Width() const
B2DVector getRange() const
B2IRange fround(const B2DRange &rRange)