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/fpdfapi/fpdf_render/render_int.h" | 7 #include "core/fpdfapi/fpdf_render/render_int.h" |
8 | 8 |
9 #include "core/fpdfapi/fpdf_font/cpdf_type3char.h" | 9 #include "core/fpdfapi/fpdf_font/cpdf_type3char.h" |
10 #include "core/fpdfapi/fpdf_font/cpdf_type3font.h" | 10 #include "core/fpdfapi/fpdf_font/cpdf_type3font.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "core/fpdfapi/fpdf_page/pageint.h" | 21 #include "core/fpdfapi/fpdf_page/pageint.h" |
22 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" | 22 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" |
23 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" | 23 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" |
24 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" | 24 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" |
25 #include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h" | 25 #include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h" |
26 #include "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h" | 26 #include "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h" |
27 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" | 27 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" |
28 #include "core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h" | 28 #include "core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h" |
29 #include "core/fpdfapi/include/cpdf_modulemgr.h" | 29 #include "core/fpdfapi/include/cpdf_modulemgr.h" |
30 #include "core/fpdfdoc/include/cpdf_occontext.h" | 30 #include "core/fpdfdoc/include/cpdf_occontext.h" |
| 31 #include "core/fxge/include/cfx_pathdata.h" |
31 #include "core/fxge/include/fx_ge.h" | 32 #include "core/fxge/include/fx_ge.h" |
32 | 33 |
33 CPDF_DocRenderData::CPDF_DocRenderData(CPDF_Document* pPDFDoc) | 34 CPDF_DocRenderData::CPDF_DocRenderData(CPDF_Document* pPDFDoc) |
34 : m_pPDFDoc(pPDFDoc), m_pFontCache(new CFX_FontCache) {} | 35 : m_pPDFDoc(pPDFDoc), m_pFontCache(new CFX_FontCache) {} |
35 | 36 |
36 CPDF_DocRenderData::~CPDF_DocRenderData() { | 37 CPDF_DocRenderData::~CPDF_DocRenderData() { |
37 Clear(TRUE); | 38 Clear(TRUE); |
38 } | 39 } |
39 | 40 |
40 void CPDF_DocRenderData::Clear(FX_BOOL bRelease) { | 41 void CPDF_DocRenderData::Clear(FX_BOOL bRelease) { |
(...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 m_pDevice->StretchDIBits(m_pBitmapDevice->GetBitmap(), m_Rect.left, | 1290 m_pDevice->StretchDIBits(m_pBitmapDevice->GetBitmap(), m_Rect.left, |
1290 m_Rect.top, m_Rect.Width(), m_Rect.Height()); | 1291 m_Rect.top, m_Rect.Width(), m_Rect.Height()); |
1291 } | 1292 } |
1292 } | 1293 } |
1293 | 1294 |
1294 #if defined _SKIA_SUPPORT_ | 1295 #if defined _SKIA_SUPPORT_ |
1295 void CPDF_RenderStatus::DebugVerifyDeviceIsPreMultiplied() const { | 1296 void CPDF_RenderStatus::DebugVerifyDeviceIsPreMultiplied() const { |
1296 m_pDevice->DebugVerifyBitmapIsPreMultiplied(); | 1297 m_pDevice->DebugVerifyBitmapIsPreMultiplied(); |
1297 } | 1298 } |
1298 #endif | 1299 #endif |
OLD | NEW |