| 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" |
| 10 #include "core/fpdfapi/fpdf_font/cpdf_type3font.h" |
| 9 #include "core/fpdfapi/fpdf_page/cpdf_colorstatedata.h" | 11 #include "core/fpdfapi/fpdf_page/cpdf_colorstatedata.h" |
| 10 #include "core/fpdfapi/fpdf_page/cpdf_graphicstates.h" | 12 #include "core/fpdfapi/fpdf_page/cpdf_graphicstates.h" |
| 11 #include "core/fpdfapi/fpdf_page/include/cpdf_form.h" | 13 #include "core/fpdfapi/fpdf_page/include/cpdf_form.h" |
| 12 #include "core/fpdfapi/fpdf_page/include/cpdf_formobject.h" | 14 #include "core/fpdfapi/fpdf_page/include/cpdf_formobject.h" |
| 15 #include "core/fpdfapi/fpdf_page/include/cpdf_image.h" |
| 13 #include "core/fpdfapi/fpdf_page/include/cpdf_imageobject.h" | 16 #include "core/fpdfapi/fpdf_page/include/cpdf_imageobject.h" |
| 14 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h" | 17 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h" |
| 15 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h" | 18 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h" |
| 16 #include "core/fpdfapi/fpdf_page/include/cpdf_pathobject.h" | 19 #include "core/fpdfapi/fpdf_page/include/cpdf_pathobject.h" |
| 17 #include "core/fpdfapi/fpdf_page/include/cpdf_textobject.h" | 20 #include "core/fpdfapi/fpdf_page/include/cpdf_textobject.h" |
| 18 #include "core/fpdfapi/fpdf_page/pageint.h" | 21 #include "core/fpdfapi/fpdf_page/pageint.h" |
| 19 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" | 22 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" |
| 20 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" | 23 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" |
| 21 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" | 24 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" |
| 22 #include "core/fpdfapi/fpdf_parser/ipdf_occontext.h" | 25 #include "core/fpdfapi/fpdf_parser/ipdf_occontext.h" |
| (...skipping 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1329 m_pContext->GetBackground(m_pBitmapDevice->GetBitmap(), m_pObject, pOptions, | 1332 m_pContext->GetBackground(m_pBitmapDevice->GetBitmap(), m_pObject, pOptions, |
| 1330 &m_Matrix); | 1333 &m_Matrix); |
| 1331 return TRUE; | 1334 return TRUE; |
| 1332 } | 1335 } |
| 1333 void CPDF_ScaledRenderBuffer::OutputToDevice() { | 1336 void CPDF_ScaledRenderBuffer::OutputToDevice() { |
| 1334 if (m_pBitmapDevice) { | 1337 if (m_pBitmapDevice) { |
| 1335 m_pDevice->StretchDIBits(m_pBitmapDevice->GetBitmap(), m_Rect.left, | 1338 m_pDevice->StretchDIBits(m_pBitmapDevice->GetBitmap(), m_Rect.left, |
| 1336 m_Rect.top, m_Rect.Width(), m_Rect.Height()); | 1339 m_Rect.top, m_Rect.Width(), m_Rect.Height()); |
| 1337 } | 1340 } |
| 1338 } | 1341 } |
| OLD | NEW |