bump product version to 7.2.5.1
[LibreOffice.git] / vcl / inc / pdf / BitmapID.hxx
blobafc9aff9fcf66c1a25441e1c6a29c274de1c2108
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 */
11 #pragma once
13 #include <vcl/dllapi.h>
14 #include <vcl/checksum.hxx>
15 #include <tools/gen.hxx>
17 namespace vcl::pdf
19 struct BitmapID
21 Size m_aPixelSize;
22 sal_Int32 m_nSize;
23 BitmapChecksum m_nChecksum;
24 BitmapChecksum m_nMaskChecksum;
26 BitmapID()
27 : m_nSize(0)
28 , m_nChecksum(0)
29 , m_nMaskChecksum(0)
33 bool operator==(const BitmapID& rComp) const
35 return (m_aPixelSize == rComp.m_aPixelSize && m_nSize == rComp.m_nSize
36 && m_nChecksum == rComp.m_nChecksum && m_nMaskChecksum == rComp.m_nMaskChecksum);
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */