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