LibreOffice Module vcl (master)
1
vcl
inc
pdf
BitmapID.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
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/.
8
*
9
*/
10
11
#pragma once
12
13
#include <
vcl/dllapi.h
>
14
#include <
vcl/checksum.hxx
>
15
#include <
tools/gen.hxx
>
16
17
namespace
vcl::pdf
18
{
19
struct
BitmapID
20
{
21
Size
m_aPixelSize
;
22
sal_Int32
m_nSize
;
23
BitmapChecksum
m_nChecksum
;
24
BitmapChecksum
m_nMaskChecksum
;
25
26
BitmapID
()
27
:
m_nSize
(0)
28
,
m_nChecksum
(0)
29
,
m_nMaskChecksum
(0)
30
{
31
}
32
33
bool
operator==
(
const
BitmapID
& rComp)
const
34
{
35
return
(
m_aPixelSize
== rComp.
m_aPixelSize
&&
m_nSize
== rComp.
m_nSize
36
&&
m_nChecksum
== rComp.
m_nChecksum
&&
m_nMaskChecksum
== rComp.
m_nMaskChecksum
);
37
}
38
};
39
}
40
41
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
checksum.hxx
BitmapChecksum
sal_uInt64 BitmapChecksum
Definition:
checksum.hxx:30
Size
dllapi.h
gen.hxx
vcl::pdf
Definition:
pdfcompat.cxx:17
vcl::pdf::BitmapID
Definition:
BitmapID.hxx:20
vcl::pdf::BitmapID::operator==
bool operator==(const BitmapID &rComp) const
Definition:
BitmapID.hxx:33
vcl::pdf::BitmapID::m_nChecksum
BitmapChecksum m_nChecksum
Definition:
BitmapID.hxx:23
vcl::pdf::BitmapID::m_aPixelSize
Size m_aPixelSize
Definition:
BitmapID.hxx:21
vcl::pdf::BitmapID::m_nMaskChecksum
BitmapChecksum m_nMaskChecksum
Definition:
BitmapID.hxx:24
vcl::pdf::BitmapID::BitmapID
BitmapID()
Definition:
BitmapID.hxx:26
vcl::pdf::BitmapID::m_nSize
sal_Int32 m_nSize
Definition:
BitmapID.hxx:22
Generated on Sun Jul 30 2023 04:34:58 for LibreOffice Module vcl (master) by
1.9.3