Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: core/include/fpdfdoc/fpdf_ap.h

Issue 1737593006: Re-land "Replace CPDF_Rect and CPDF_Point with CFX types." (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Ooops. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/include/fpdfapi/fpdf_parser.h ('k') | core/include/fpdfdoc/fpdf_vt.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_INCLUDE_FPDFDOC_FPDF_AP_H_ 7 #ifndef CORE_INCLUDE_FPDFDOC_FPDF_AP_H_
8 #define CORE_INCLUDE_FPDFDOC_FPDF_AP_H_ 8 #define CORE_INCLUDE_FPDFDOC_FPDF_AP_H_
9 9
10 #include "core/include/fpdfapi/fpdf_parser.h" 10 #include "core/include/fpdfapi/fpdf_parser.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 CPDF_Dictionary* pAnnotDict); 74 CPDF_Dictionary* pAnnotDict);
75 75
76 static FX_BOOL GenerateComboBoxAP(CPDF_Document* pDoc, 76 static FX_BOOL GenerateComboBoxAP(CPDF_Document* pDoc,
77 CPDF_Dictionary* pAnnotDict); 77 CPDF_Dictionary* pAnnotDict);
78 78
79 static FX_BOOL GenerateListBoxAP(CPDF_Document* pDoc, 79 static FX_BOOL GenerateListBoxAP(CPDF_Document* pDoc,
80 CPDF_Dictionary* pAnnotDict); 80 CPDF_Dictionary* pAnnotDict);
81 81
82 static CFX_ByteString GenerateEditAP(IPVT_FontMap* pFontMap, 82 static CFX_ByteString GenerateEditAP(IPVT_FontMap* pFontMap,
83 IPDF_VariableText_Iterator* pIterator, 83 IPDF_VariableText_Iterator* pIterator,
84 const CPDF_Point& ptOffset, 84 const CFX_FloatPoint& ptOffset,
85 FX_BOOL bContinuous, 85 FX_BOOL bContinuous,
86 FX_WORD SubWord = 0, 86 FX_WORD SubWord = 0,
87 const CPVT_WordRange* pVisible = NULL); 87 const CPVT_WordRange* pVisible = NULL);
88 88
89 static CFX_ByteString GenerateBorderAP(const CPDF_Rect& rect, 89 static CFX_ByteString GenerateBorderAP(const CFX_FloatRect& rect,
90 FX_FLOAT fWidth, 90 FX_FLOAT fWidth,
91 const CPVT_Color& color, 91 const CPVT_Color& color,
92 const CPVT_Color& crLeftTop, 92 const CPVT_Color& crLeftTop,
93 const CPVT_Color& crRightBottom, 93 const CPVT_Color& crRightBottom,
94 int32_t nStyle, 94 int32_t nStyle,
95 const CPVT_Dash& dash); 95 const CPVT_Dash& dash);
96 96
97 static CFX_ByteString GenerateColorAP(const CPVT_Color& color, 97 static CFX_ByteString GenerateColorAP(const CPVT_Color& color,
98 const FX_BOOL& bFillOrStroke); 98 const FX_BOOL& bFillOrStroke);
99 }; 99 };
100 100
101 #endif // CORE_INCLUDE_FPDFDOC_FPDF_AP_H_ 101 #endif // CORE_INCLUDE_FPDFDOC_FPDF_AP_H_
OLDNEW
« no previous file with comments | « core/include/fpdfapi/fpdf_parser.h ('k') | core/include/fpdfdoc/fpdf_vt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698