| 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 #ifndef CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| 8 #define CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 8 #define CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" |
| 13 #include "core/include/fpdfapi/fpdf_pageobj.h" | 14 #include "core/include/fpdfapi/fpdf_pageobj.h" |
| 14 #include "core/include/fpdfapi/fpdf_render.h" | |
| 15 | 15 |
| 16 class CPDF_PageObjectHolder; |
| 17 class CPDF_PageRenderCache; |
| 18 class CPDF_RenderStatus; |
| 16 class CFX_GlyphBitmap; | 19 class CFX_GlyphBitmap; |
| 17 class CFX_ImageTransformer; | 20 class CFX_ImageTransformer; |
| 18 class CPDF_ImageCacheEntry; | 21 class CPDF_ImageCacheEntry; |
| 19 class CPDF_ImageLoaderHandle; | 22 class CPDF_ImageLoaderHandle; |
| 20 class ICodec_ScanlineDecoder; | 23 class ICodec_ScanlineDecoder; |
| 21 | 24 |
| 22 #define TYPE3_MAX_BLUES 16 | 25 #define TYPE3_MAX_BLUES 16 |
| 23 | 26 |
| 27 FX_BOOL IsAvailableMatrix(const CFX_Matrix& matrix); |
| 28 |
| 24 class CPDF_Type3Glyphs { | 29 class CPDF_Type3Glyphs { |
| 25 public: | 30 public: |
| 26 CPDF_Type3Glyphs() : m_TopBlueCount(0), m_BottomBlueCount(0) {} | 31 CPDF_Type3Glyphs() : m_TopBlueCount(0), m_BottomBlueCount(0) {} |
| 27 ~CPDF_Type3Glyphs(); | 32 ~CPDF_Type3Glyphs(); |
| 28 void AdjustBlue(FX_FLOAT top, | 33 void AdjustBlue(FX_FLOAT top, |
| 29 FX_FLOAT bottom, | 34 FX_FLOAT bottom, |
| 30 int& top_line, | 35 int& top_line, |
| 31 int& bottom_line); | 36 int& bottom_line); |
| 32 | 37 |
| 33 std::map<FX_DWORD, CFX_GlyphBitmap*> m_GlyphMap; | 38 std::map<FX_DWORD, CFX_GlyphBitmap*> m_GlyphMap; |
| (...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 const uint8_t* m_RampB; | 615 const uint8_t* m_RampB; |
| 611 }; | 616 }; |
| 612 | 617 |
| 613 struct _CPDF_UniqueKeyGen { | 618 struct _CPDF_UniqueKeyGen { |
| 614 void Generate(int count, ...); | 619 void Generate(int count, ...); |
| 615 FX_CHAR m_Key[128]; | 620 FX_CHAR m_Key[128]; |
| 616 int m_KeyLen; | 621 int m_KeyLen; |
| 617 }; | 622 }; |
| 618 | 623 |
| 619 #endif // CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 624 #endif // CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| OLD | NEW |