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

Side by Side Diff: core/include/fpdfapi/fpdf_render.h

Issue 1700183002: Remove CFX_PtrList from renderer main loop. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits. Created 4 years, 10 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
« no previous file with comments | « core/include/fpdfapi/fpdf_page.h ('k') | core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_
8 #define CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ 8 #define CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 static const int kStepLimit = 100; 144 static const int kStepLimit = 100;
145 145
146 Status m_Status; 146 Status m_Status;
147 CPDF_RenderContext* const m_pContext; 147 CPDF_RenderContext* const m_pContext;
148 CFX_RenderDevice* const m_pDevice; 148 CFX_RenderDevice* const m_pDevice;
149 const CPDF_RenderOptions* const m_pOptions; 149 const CPDF_RenderOptions* const m_pOptions;
150 std::unique_ptr<CPDF_RenderStatus> m_pRenderStatus; 150 std::unique_ptr<CPDF_RenderStatus> m_pRenderStatus;
151 CFX_FloatRect m_ClipRect; 151 CFX_FloatRect m_ClipRect;
152 FX_DWORD m_LayerIndex; 152 FX_DWORD m_LayerIndex;
153 CPDF_RenderContext::Layer* m_pCurrentLayer; 153 CPDF_RenderContext::Layer* m_pCurrentLayer;
154 FX_POSITION m_LastObjectRendered; 154 CPDF_PageObjectList::iterator m_LastObjectRendered;
155 }; 155 };
156 156
157 class CPDF_TextRenderer { 157 class CPDF_TextRenderer {
158 public: 158 public:
159 static void DrawTextString(CFX_RenderDevice* pDevice, 159 static void DrawTextString(CFX_RenderDevice* pDevice,
160 int left, 160 int left,
161 int top, 161 int top,
162 CPDF_Font* pFont, 162 CPDF_Font* pFont,
163 int height, 163 int height,
164 const CFX_ByteString& str, 164 const CFX_ByteString& str,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 CPDF_ImageCacheEntry* m_pCurImageCacheEntry; 259 CPDF_ImageCacheEntry* m_pCurImageCacheEntry;
260 std::map<CPDF_Stream*, CPDF_ImageCacheEntry*> m_ImageCache; 260 std::map<CPDF_Stream*, CPDF_ImageCacheEntry*> m_ImageCache;
261 FX_DWORD m_nTimeCount; 261 FX_DWORD m_nTimeCount;
262 FX_DWORD m_nCacheSize; 262 FX_DWORD m_nCacheSize;
263 FX_BOOL m_bCurFindCache; 263 FX_BOOL m_bCurFindCache;
264 }; 264 };
265 265
266 FX_BOOL IsAvailableMatrix(const CFX_Matrix& matrix); 266 FX_BOOL IsAvailableMatrix(const CFX_Matrix& matrix);
267 267
268 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ 268 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_
OLDNEW
« no previous file with comments | « core/include/fpdfapi/fpdf_page.h ('k') | core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698