| 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_page/cpdf_countedobject.h" |
| 13 #include "core/fpdfapi/fpdf_page/cpdf_graphicstates.h" | 14 #include "core/fpdfapi/fpdf_page/cpdf_graphicstates.h" |
| 14 #include "core/fpdfapi/fpdf_page/include/cpdf_clippath.h" | 15 #include "core/fpdfapi/fpdf_page/include/cpdf_clippath.h" |
| 16 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h" |
| 15 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" | 17 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" |
| 16 #include "core/include/fpdfapi/fpdf_resource.h" | |
| 17 | 18 |
| 18 class CPDF_PageObjectHolder; | 19 class CPDF_PageObjectHolder; |
| 19 class CPDF_PageRenderCache; | 20 class CPDF_PageRenderCache; |
| 20 class CPDF_RenderStatus; | 21 class CPDF_RenderStatus; |
| 21 class CFX_GlyphBitmap; | 22 class CFX_GlyphBitmap; |
| 22 class CFX_ImageTransformer; | 23 class CFX_ImageTransformer; |
| 23 class CPDF_ImageCacheEntry; | 24 class CPDF_ImageCacheEntry; |
| 24 class CPDF_ImageLoaderHandle; | 25 class CPDF_ImageLoaderHandle; |
| 25 class ICodec_ScanlineDecoder; | 26 class ICodec_ScanlineDecoder; |
| 26 class CPDF_Type3Font; | 27 class CPDF_Type3Font; |
| 27 class CPDF_Type3Cache; | 28 class CPDF_Type3Cache; |
| 28 class CPDF_Type3Char; | 29 class CPDF_Type3Char; |
| 29 class CPDF_TransferFunc; | 30 class CPDF_TransferFunc; |
| 30 class CPDF_Document; | 31 class CPDF_Document; |
| 31 class CPDF_Object; | 32 class CPDF_Object; |
| 32 class CFX_FontCache; | 33 class CFX_FontCache; |
| 33 class CPDF_Font; | 34 class CPDF_Font; |
| 34 class CPDF_PageObject; | 35 class CPDF_PageObject; |
| 35 class CPDF_PathObject; | 36 class CPDF_PathObject; |
| 36 class CPDF_ShadingObject; | 37 class CPDF_ShadingObject; |
| 37 class CPDF_FormObject; | 38 class CPDF_FormObject; |
| 38 class CPDF_ShadingPattern; | 39 class CPDF_ShadingPattern; |
| 39 class CPDF_TilingPattern; | 40 class CPDF_TilingPattern; |
| 40 class CPDF_Color; | 41 class CPDF_Color; |
| 41 class CPDF_Dictionary; | 42 class CPDF_Dictionary; |
| 42 class CPDF_ImageObject; | 43 class CPDF_ImageObject; |
| 44 class CPDF_Stream; |
| 43 | 45 |
| 44 #define TYPE3_MAX_BLUES 16 | 46 #define TYPE3_MAX_BLUES 16 |
| 45 | 47 |
| 46 FX_BOOL IsAvailableMatrix(const CFX_Matrix& matrix); | 48 FX_BOOL IsAvailableMatrix(const CFX_Matrix& matrix); |
| 47 | 49 |
| 48 class CPDF_Type3Glyphs { | 50 class CPDF_Type3Glyphs { |
| 49 public: | 51 public: |
| 50 CPDF_Type3Glyphs() : m_TopBlueCount(0), m_BottomBlueCount(0) {} | 52 CPDF_Type3Glyphs() : m_TopBlueCount(0), m_BottomBlueCount(0) {} |
| 51 ~CPDF_Type3Glyphs(); | 53 ~CPDF_Type3Glyphs(); |
| 52 void AdjustBlue(FX_FLOAT top, | 54 void AdjustBlue(FX_FLOAT top, |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 const uint8_t* m_RampB; | 636 const uint8_t* m_RampB; |
| 635 }; | 637 }; |
| 636 | 638 |
| 637 struct _CPDF_UniqueKeyGen { | 639 struct _CPDF_UniqueKeyGen { |
| 638 void Generate(int count, ...); | 640 void Generate(int count, ...); |
| 639 FX_CHAR m_Key[128]; | 641 FX_CHAR m_Key[128]; |
| 640 int m_KeyLen; | 642 int m_KeyLen; |
| 641 }; | 643 }; |
| 642 | 644 |
| 643 #endif // CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 645 #endif // CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| OLD | NEW |