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_page/include/cpdf_form.h" |
| 10 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h" |
9 #include "core/fpdfapi/fpdf_page/pageint.h" | 11 #include "core/fpdfapi/fpdf_page/pageint.h" |
10 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" | 12 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" |
11 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" | 13 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" |
12 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" | 14 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" |
13 #include "core/fpdfapi/fpdf_parser/ipdf_occontext.h" | 15 #include "core/fpdfapi/fpdf_parser/ipdf_occontext.h" |
14 #include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h" | 16 #include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h" |
15 #include "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h" | 17 #include "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h" |
16 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" | 18 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" |
17 #include "core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h" | 19 #include "core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h" |
18 #include "core/fpdfapi/include/cpdf_modulemgr.h" | 20 #include "core/fpdfapi/include/cpdf_modulemgr.h" |
(...skipping 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1320 m_pContext->GetBackground(m_pBitmapDevice->GetBitmap(), m_pObject, pOptions, | 1322 m_pContext->GetBackground(m_pBitmapDevice->GetBitmap(), m_pObject, pOptions, |
1321 &m_Matrix); | 1323 &m_Matrix); |
1322 return TRUE; | 1324 return TRUE; |
1323 } | 1325 } |
1324 void CPDF_ScaledRenderBuffer::OutputToDevice() { | 1326 void CPDF_ScaledRenderBuffer::OutputToDevice() { |
1325 if (m_pBitmapDevice) { | 1327 if (m_pBitmapDevice) { |
1326 m_pDevice->StretchDIBits(m_pBitmapDevice->GetBitmap(), m_Rect.left, | 1328 m_pDevice->StretchDIBits(m_pBitmapDevice->GetBitmap(), m_Rect.left, |
1327 m_Rect.top, m_Rect.Width(), m_Rect.Height()); | 1329 m_Rect.top, m_Rect.Width(), m_Rect.Height()); |
1328 } | 1330 } |
1329 } | 1331 } |
OLD | NEW |