Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Side by Side Diff: core/fpdfapi/fpdf_render/fpdf_render.cpp

Issue 2377393002: Move core/fxge/include to core/fxge (Closed)
Patch Set: Rebase to master Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
23 #include "core/fpdfapi/fpdf_page/pageint.h" 23 #include "core/fpdfapi/fpdf_page/pageint.h"
24 #include "core/fpdfapi/fpdf_parser/cpdf_array.h" 24 #include "core/fpdfapi/fpdf_parser/cpdf_array.h"
25 #include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h" 25 #include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h"
26 #include "core/fpdfapi/fpdf_parser/cpdf_document.h" 26 #include "core/fpdfapi/fpdf_parser/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/cpdf_progressiverenderer.h" 28 #include "core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h"
29 #include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h" 29 #include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
30 #include "core/fpdfapi/fpdf_render/cpdf_textrenderer.h" 30 #include "core/fpdfapi/fpdf_render/cpdf_textrenderer.h"
31 #include "core/fpdfapi/fpdf_render/cpdf_type3cache.h" 31 #include "core/fpdfapi/fpdf_render/cpdf_type3cache.h"
32 #include "core/fpdfdoc/cpdf_occontext.h" 32 #include "core/fpdfdoc/cpdf_occontext.h"
33 #include "core/fxge/include/cfx_fxgedevice.h" 33 #include "core/fxge/cfx_fxgedevice.h"
34 #include "core/fxge/include/cfx_graphstatedata.h" 34 #include "core/fxge/cfx_graphstatedata.h"
35 #include "core/fxge/include/cfx_pathdata.h" 35 #include "core/fxge/cfx_pathdata.h"
36 #include "core/fxge/include/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() {
42 Clear(TRUE); 42 Clear(TRUE);
43 } 43 }
44 44
45 void CPDF_DocRenderData::Clear(FX_BOOL bRelease) { 45 void CPDF_DocRenderData::Clear(FX_BOOL bRelease) {
46 for (auto it = m_Type3FaceMap.begin(); it != m_Type3FaceMap.end();) { 46 for (auto it = m_Type3FaceMap.begin(); it != m_Type3FaceMap.end();) {
(...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_render/cpdf_type3glyphs.cpp ('k') | core/fpdfapi/fpdf_render/fpdf_render_image.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698