OLD | NEW |
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 #include "core/src/fpdfapi/fpdf_font/font_int.h" | 7 #include "core/src/fpdfapi/fpdf_font/font_int.h" |
8 | 8 |
9 #include "core/include/fpdfapi/cpdf_document.h" | 9 #include "core/include/fpdfapi/cpdf_document.h" |
| 10 #include "core/include/fpdfapi/cpdf_simple_parser.h" |
10 #include "core/include/fpdfapi/fpdf_module.h" | 11 #include "core/include/fpdfapi/fpdf_module.h" |
11 #include "core/include/fpdfapi/fpdf_page.h" | 12 #include "core/include/fpdfapi/fpdf_page.h" |
12 #include "core/include/fpdfapi/fpdf_pageobj.h" | 13 #include "core/include/fpdfapi/fpdf_pageobj.h" |
13 #include "core/include/fpdfapi/fpdf_resource.h" | 14 #include "core/include/fpdfapi/fpdf_resource.h" |
14 #include "core/include/fxcrt/fx_ext.h" | 15 #include "core/include/fxcrt/fx_ext.h" |
15 #include "core/include/fxge/fx_freetype.h" | 16 #include "core/include/fxge/fx_freetype.h" |
16 #include "core/src/fpdfapi/fpdf_page/pageint.h" | 17 #include "core/src/fpdfapi/fpdf_page/pageint.h" |
17 #include "third_party/base/stl_util.h" | 18 #include "third_party/base/stl_util.h" |
18 | 19 |
19 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ | 20 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ |
(...skipping 1781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1801 return pChar ? pChar->m_BBox : FX_RECT(); | 1802 return pChar ? pChar->m_BBox : FX_RECT(); |
1802 } | 1803 } |
1803 | 1804 |
1804 CPDF_Type3Char::CPDF_Type3Char(CPDF_Form* pForm) | 1805 CPDF_Type3Char::CPDF_Type3Char(CPDF_Form* pForm) |
1805 : m_pForm(pForm), m_pBitmap(nullptr), m_bColored(FALSE) {} | 1806 : m_pForm(pForm), m_pBitmap(nullptr), m_bColored(FALSE) {} |
1806 | 1807 |
1807 CPDF_Type3Char::~CPDF_Type3Char() { | 1808 CPDF_Type3Char::~CPDF_Type3Char() { |
1808 delete m_pForm; | 1809 delete m_pForm; |
1809 delete m_pBitmap; | 1810 delete m_pBitmap; |
1810 } | 1811 } |
OLD | NEW |