• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef CORE_FPDFDOC_CPVT_SECPROPS_H_
8 #define CORE_FPDFDOC_CPVT_SECPROPS_H_
9 
10 #include "core/fxcrt/fx_system.h"
11 
12 struct CPVT_SecProps {
CPVT_SecPropsCPVT_SecProps13   CPVT_SecProps() : fLineLeading(0.0f), fLineIndent(0.0f), nAlignment(0) {}
14 
CPVT_SecPropsCPVT_SecProps15   CPVT_SecProps(FX_FLOAT lineLeading, FX_FLOAT lineIndent, int32_t alignment)
16       : fLineLeading(lineLeading),
17         fLineIndent(lineIndent),
18         nAlignment(alignment) {}
19 
CPVT_SecPropsCPVT_SecProps20   CPVT_SecProps(const CPVT_SecProps& other)
21       : fLineLeading(other.fLineLeading),
22         fLineIndent(other.fLineIndent),
23         nAlignment(other.nAlignment) {}
24 
25   FX_FLOAT fLineLeading;
26   FX_FLOAT fLineIndent;
27   int32_t nAlignment;
28 };
29 
30 #endif  // CORE_FPDFDOC_CPVT_SECPROPS_H_
31