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

Side by Side Diff: core/fpdfapi/render/cpdf_type3glyphs.h

Issue 2393593002: Move core/fpdfapi/fpdf_render to core/fpdfapi/render (Closed)
Patch Set: Rebase to master Created 4 years, 2 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/fpdfapi/render/cpdf_type3cache.cpp ('k') | core/fpdfapi/render/cpdf_type3glyphs.cpp » ('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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_FPDFAPI_FPDF_RENDER_CPDF_TYPE3GLYPHS_H_ 7 #ifndef CORE_FPDFAPI_RENDER_CPDF_TYPE3GLYPHS_H_
8 #define CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3GLYPHS_H_ 8 #define CORE_FPDFAPI_RENDER_CPDF_TYPE3GLYPHS_H_
9 9
10 #include <map> 10 #include <map>
11 11
12 #include "core/fxcrt/fx_system.h" 12 #include "core/fxcrt/fx_system.h"
13 13
14 class CFX_GlyphBitmap; 14 class CFX_GlyphBitmap;
15 15
16 #define TYPE3_MAX_BLUES 16 16 #define TYPE3_MAX_BLUES 16
17 17
18 class CPDF_Type3Glyphs { 18 class CPDF_Type3Glyphs {
19 public: 19 public:
20 CPDF_Type3Glyphs(); 20 CPDF_Type3Glyphs();
21 ~CPDF_Type3Glyphs(); 21 ~CPDF_Type3Glyphs();
22 22
23 void AdjustBlue(FX_FLOAT top, 23 void AdjustBlue(FX_FLOAT top,
24 FX_FLOAT bottom, 24 FX_FLOAT bottom,
25 int& top_line, 25 int& top_line,
26 int& bottom_line); 26 int& bottom_line);
27 27
28 std::map<uint32_t, CFX_GlyphBitmap*> m_GlyphMap; 28 std::map<uint32_t, CFX_GlyphBitmap*> m_GlyphMap;
29 int m_TopBlue[TYPE3_MAX_BLUES]; 29 int m_TopBlue[TYPE3_MAX_BLUES];
30 int m_BottomBlue[TYPE3_MAX_BLUES]; 30 int m_BottomBlue[TYPE3_MAX_BLUES];
31 int m_TopBlueCount; 31 int m_TopBlueCount;
32 int m_BottomBlueCount; 32 int m_BottomBlueCount;
33 }; 33 };
34 34
35 #endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3GLYPHS_H_ 35 #endif // CORE_FPDFAPI_RENDER_CPDF_TYPE3GLYPHS_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/render/cpdf_type3cache.cpp ('k') | core/fpdfapi/render/cpdf_type3glyphs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698