| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
| 6 | |
| 7 #ifndef CORE_FPDFAPI_FPDF_FONT_CPDF_TYPE3CHAR_H_ | |
| 8 #define CORE_FPDFAPI_FPDF_FONT_CPDF_TYPE3CHAR_H_ | |
| 9 | |
| 10 #include <memory> | |
| 11 | |
| 12 #include "core/fxcrt/fx_coordinates.h" | |
| 13 #include "core/fxcrt/fx_system.h" | |
| 14 | |
| 15 class CFX_DIBitmap; | |
| 16 class CPDF_Form; | |
| 17 class CPDF_RenderContext; | |
| 18 | |
| 19 class CPDF_Type3Char { | |
| 20 public: | |
| 21 // Takes ownership of |pForm|. | |
| 22 explicit CPDF_Type3Char(CPDF_Form* pForm); | |
| 23 ~CPDF_Type3Char(); | |
| 24 | |
| 25 FX_BOOL LoadBitmap(CPDF_RenderContext* pContext); | |
| 26 | |
| 27 std::unique_ptr<CPDF_Form> m_pForm; | |
| 28 std::unique_ptr<CFX_DIBitmap> m_pBitmap; | |
| 29 FX_BOOL m_bColored; | |
| 30 int m_Width; | |
| 31 CFX_Matrix m_ImageMatrix; | |
| 32 FX_RECT m_BBox; | |
| 33 }; | |
| 34 | |
| 35 #endif // CORE_FPDFAPI_FPDF_FONT_CPDF_TYPE3CHAR_H_ | |
| OLD | NEW |