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

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

Issue 1778173002: Split apart the remainder of fpdf_render_render.cpp into per-class files. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits 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
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"
11 #include "core/include/fpdfdoc/fpdf_vt.h" 10 #include "core/include/fpdfdoc/fpdf_vt.h"
12 11
13 class IPVT_FontMap { 12 class IPVT_FontMap {
14 public: 13 public:
15 virtual ~IPVT_FontMap() {} 14 virtual ~IPVT_FontMap() {}
16 virtual CPDF_Font* GetPDFFont(int32_t nFontIndex) = 0; 15 virtual CPDF_Font* GetPDFFont(int32_t nFontIndex) = 0;
17 virtual CFX_ByteString GetPDFFontAlias(int32_t nFontIndex) = 0; 16 virtual CFX_ByteString GetPDFFontAlias(int32_t nFontIndex) = 0;
18 }; 17 };
19 18
20 struct CPVT_Dash { 19 struct CPVT_Dash {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 const CPVT_Color& crLeftTop, 91 const CPVT_Color& crLeftTop,
93 const CPVT_Color& crRightBottom, 92 const CPVT_Color& crRightBottom,
94 int32_t nStyle, 93 int32_t nStyle,
95 const CPVT_Dash& dash); 94 const CPVT_Dash& dash);
96 95
97 static CFX_ByteString GenerateColorAP(const CPVT_Color& color, 96 static CFX_ByteString GenerateColorAP(const CPVT_Color& color,
98 const FX_BOOL& bFillOrStroke); 97 const FX_BOOL& bFillOrStroke);
99 }; 98 };
100 99
101 #endif // CORE_INCLUDE_FPDFDOC_FPDF_AP_H_ 100 #endif // CORE_INCLUDE_FPDFDOC_FPDF_AP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698