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 <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "core/fpdfapi/fpdf_page/pageint.h" | 23 #include "core/fpdfapi/fpdf_page/pageint.h" |
24 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" | 24 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" |
25 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" | 25 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" |
26 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" | 26 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" |
27 #include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h" | 27 #include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h" |
28 #include "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h" | 28 #include "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h" |
29 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" | 29 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" |
30 #include "core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h" | 30 #include "core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h" |
31 #include "core/fpdfapi/include/cpdf_modulemgr.h" | 31 #include "core/fpdfapi/include/cpdf_modulemgr.h" |
32 #include "core/fpdfdoc/include/cpdf_occontext.h" | 32 #include "core/fpdfdoc/include/cpdf_occontext.h" |
| 33 #include "core/fxge/include/cfx_fontcache.h" |
33 #include "core/fxge/include/cfx_fxgedevice.h" | 34 #include "core/fxge/include/cfx_fxgedevice.h" |
34 #include "core/fxge/include/cfx_graphstatedata.h" | 35 #include "core/fxge/include/cfx_graphstatedata.h" |
35 #include "core/fxge/include/cfx_pathdata.h" | 36 #include "core/fxge/include/cfx_pathdata.h" |
36 #include "core/fxge/include/cfx_renderdevice.h" | 37 #include "core/fxge/include/cfx_renderdevice.h" |
37 | 38 |
38 CPDF_DocRenderData::CPDF_DocRenderData(CPDF_Document* pPDFDoc) | 39 CPDF_DocRenderData::CPDF_DocRenderData(CPDF_Document* pPDFDoc) |
39 : m_pPDFDoc(pPDFDoc), m_pFontCache(new CFX_FontCache) {} | 40 : m_pPDFDoc(pPDFDoc), m_pFontCache(new CFX_FontCache) {} |
40 | 41 |
41 CPDF_DocRenderData::~CPDF_DocRenderData() { | 42 CPDF_DocRenderData::~CPDF_DocRenderData() { |
42 Clear(TRUE); | 43 Clear(TRUE); |
(...skipping 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1295 m_pDevice->StretchDIBits(m_pBitmapDevice->GetBitmap(), m_Rect.left, | 1296 m_pDevice->StretchDIBits(m_pBitmapDevice->GetBitmap(), m_Rect.left, |
1296 m_Rect.top, m_Rect.Width(), m_Rect.Height()); | 1297 m_Rect.top, m_Rect.Width(), m_Rect.Height()); |
1297 } | 1298 } |
1298 } | 1299 } |
1299 | 1300 |
1300 #if defined _SKIA_SUPPORT_ | 1301 #if defined _SKIA_SUPPORT_ |
1301 void CPDF_RenderStatus::DebugVerifyDeviceIsPreMultiplied() const { | 1302 void CPDF_RenderStatus::DebugVerifyDeviceIsPreMultiplied() const { |
1302 m_pDevice->DebugVerifyBitmapIsPreMultiplied(); | 1303 m_pDevice->DebugVerifyBitmapIsPreMultiplied(); |
1303 } | 1304 } |
1304 #endif | 1305 #endif |
OLD | NEW |