LibreOffice Module vcl (master)
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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: */
BitmapChecksum
sal_uInt64 BitmapChecksum
Definition:
checksum.hxx:30
vcl::pdf::BitmapID::m_aPixelSize
Size m_aPixelSize
Definition:
BitmapID.hxx:21
vcl::pdf::BitmapID
Definition:
BitmapID.hxx:19
vcl::pdf::BitmapID::m_nMaskChecksum
BitmapChecksum m_nMaskChecksum
Definition:
BitmapID.hxx:24
vcl::pdf::BitmapID::m_nChecksum
BitmapChecksum m_nChecksum
Definition:
BitmapID.hxx:23
vcl::pdf::BitmapID::operator==
bool operator==(const BitmapID &rComp) const
Definition:
BitmapID.hxx:33
Size
dllapi.h
checksum.hxx
vcl::pdf::BitmapID::BitmapID
BitmapID()
Definition:
BitmapID.hxx:26
gen.hxx
vcl::pdf
Definition:
pdfbuildin_fonts.cxx:24
vcl::pdf::BitmapID::m_nSize
sal_Int32 m_nSize
Definition:
BitmapID.hxx:22
Generated on Thu Jan 21 2021 08:40:08 for LibreOffice Module vcl (master) by
1.8.10