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 |
11 #include "core/fpdfapi/cpdf_modulemgr.h" | 11 #include "core/fpdfapi/cpdf_modulemgr.h" |
12 #include "core/fpdfapi/font/cpdf_type3char.h" | 12 #include "core/fpdfapi/font/cpdf_type3char.h" |
13 #include "core/fpdfapi/font/cpdf_type3font.h" | 13 #include "core/fpdfapi/font/cpdf_type3font.h" |
14 #include "core/fpdfapi/fpdf_page/cpdf_form.h" | |
15 #include "core/fpdfapi/fpdf_page/cpdf_formobject.h" | |
16 #include "core/fpdfapi/fpdf_page/cpdf_graphicstates.h" | |
17 #include "core/fpdfapi/fpdf_page/cpdf_image.h" | |
18 #include "core/fpdfapi/fpdf_page/cpdf_imageobject.h" | |
19 #include "core/fpdfapi/fpdf_page/cpdf_page.h" | |
20 #include "core/fpdfapi/fpdf_page/cpdf_pageobject.h" | |
21 #include "core/fpdfapi/fpdf_page/cpdf_pathobject.h" | |
22 #include "core/fpdfapi/fpdf_page/cpdf_textobject.h" | |
23 #include "core/fpdfapi/fpdf_page/pageint.h" | |
24 #include "core/fpdfapi/fpdf_parser/cpdf_array.h" | 14 #include "core/fpdfapi/fpdf_parser/cpdf_array.h" |
25 #include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h" | 15 #include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h" |
26 #include "core/fpdfapi/fpdf_parser/cpdf_document.h" | 16 #include "core/fpdfapi/fpdf_parser/cpdf_document.h" |
27 #include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h" | 17 #include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h" |
28 #include "core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h" | 18 #include "core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h" |
29 #include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h" | 19 #include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h" |
30 #include "core/fpdfapi/fpdf_render/cpdf_textrenderer.h" | 20 #include "core/fpdfapi/fpdf_render/cpdf_textrenderer.h" |
31 #include "core/fpdfapi/fpdf_render/cpdf_type3cache.h" | 21 #include "core/fpdfapi/fpdf_render/cpdf_type3cache.h" |
| 22 #include "core/fpdfapi/page/cpdf_form.h" |
| 23 #include "core/fpdfapi/page/cpdf_formobject.h" |
| 24 #include "core/fpdfapi/page/cpdf_graphicstates.h" |
| 25 #include "core/fpdfapi/page/cpdf_image.h" |
| 26 #include "core/fpdfapi/page/cpdf_imageobject.h" |
| 27 #include "core/fpdfapi/page/cpdf_page.h" |
| 28 #include "core/fpdfapi/page/cpdf_pageobject.h" |
| 29 #include "core/fpdfapi/page/cpdf_pathobject.h" |
| 30 #include "core/fpdfapi/page/cpdf_textobject.h" |
| 31 #include "core/fpdfapi/page/pageint.h" |
32 #include "core/fpdfdoc/cpdf_occontext.h" | 32 #include "core/fpdfdoc/cpdf_occontext.h" |
33 #include "core/fxge/cfx_fxgedevice.h" | 33 #include "core/fxge/cfx_fxgedevice.h" |
34 #include "core/fxge/cfx_graphstatedata.h" | 34 #include "core/fxge/cfx_graphstatedata.h" |
35 #include "core/fxge/cfx_pathdata.h" | 35 #include "core/fxge/cfx_pathdata.h" |
36 #include "core/fxge/cfx_renderdevice.h" | 36 #include "core/fxge/cfx_renderdevice.h" |
37 | 37 |
38 CPDF_DocRenderData::CPDF_DocRenderData(CPDF_Document* pPDFDoc) | 38 CPDF_DocRenderData::CPDF_DocRenderData(CPDF_Document* pPDFDoc) |
39 : m_pPDFDoc(pPDFDoc) {} | 39 : m_pPDFDoc(pPDFDoc) {} |
40 | 40 |
41 CPDF_DocRenderData::~CPDF_DocRenderData() { | 41 CPDF_DocRenderData::~CPDF_DocRenderData() { |
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1280 m_pDevice->StretchDIBits(m_pBitmapDevice->GetBitmap(), m_Rect.left, | 1280 m_pDevice->StretchDIBits(m_pBitmapDevice->GetBitmap(), m_Rect.left, |
1281 m_Rect.top, m_Rect.Width(), m_Rect.Height()); | 1281 m_Rect.top, m_Rect.Width(), m_Rect.Height()); |
1282 } | 1282 } |
1283 } | 1283 } |
1284 | 1284 |
1285 #if defined _SKIA_SUPPORT_ | 1285 #if defined _SKIA_SUPPORT_ |
1286 void CPDF_RenderStatus::DebugVerifyDeviceIsPreMultiplied() const { | 1286 void CPDF_RenderStatus::DebugVerifyDeviceIsPreMultiplied() const { |
1287 m_pDevice->DebugVerifyBitmapIsPreMultiplied(); | 1287 m_pDevice->DebugVerifyBitmapIsPreMultiplied(); |
1288 } | 1288 } |
1289 #endif | 1289 #endif |
OLD | NEW |