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

Side by Side Diff: xfa/fxgraphics/cfx_graphics.h

Issue 2435603003: Cleanup unused methods and return values in FWL code. (Closed)
Patch Set: Fix typo 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
« no previous file with comments | « xfa/fxfa/app/xfa_fwltheme.cpp ('k') | xfa/fxgraphics/cfx_graphics.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 XFA_FXGRAPHICS_CFX_GRAPHICS_H_ 7 #ifndef XFA_FXGRAPHICS_CFX_GRAPHICS_H_
8 #define XFA_FXGRAPHICS_CFX_GRAPHICS_H_ 8 #define XFA_FXGRAPHICS_CFX_GRAPHICS_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 const CFX_PointF& point, 158 const CFX_PointF& point,
159 CFX_Matrix* matrix = nullptr); 159 CFX_Matrix* matrix = nullptr);
160 FWL_Error StretchImage(CFX_DIBSource* source, 160 FWL_Error StretchImage(CFX_DIBSource* source,
161 const CFX_RectF& rect, 161 const CFX_RectF& rect,
162 CFX_Matrix* matrix = nullptr); 162 CFX_Matrix* matrix = nullptr);
163 FWL_Error ConcatMatrix(const CFX_Matrix* matrix); 163 FWL_Error ConcatMatrix(const CFX_Matrix* matrix);
164 FWL_Error ClearClip(); 164 FWL_Error ClearClip();
165 FWL_Error ShowText(const CFX_PointF& point, 165 FWL_Error ShowText(const CFX_PointF& point,
166 const CFX_WideString& text, 166 const CFX_WideString& text,
167 CFX_Matrix* matrix = nullptr); 167 CFX_Matrix* matrix = nullptr);
168 FWL_Error CalcTextRect(CFX_RectF& rect, 168 void CalcTextRect(CFX_RectF& rect,
169 const CFX_WideString& text, 169 const CFX_WideString& text,
170 FX_BOOL isMultiline = FALSE, 170 FX_BOOL isMultiline = FALSE,
171 CFX_Matrix* matrix = nullptr); 171 CFX_Matrix* matrix = nullptr);
172 FWL_Error Transfer(CFX_Graphics* graphics, const CFX_Matrix* matrix); 172 FWL_Error Transfer(CFX_Graphics* graphics, const CFX_Matrix* matrix);
173 FWL_Error Transfer(CFX_Graphics* graphics, 173 FWL_Error Transfer(CFX_Graphics* graphics,
174 FX_FLOAT srcLeft, 174 FX_FLOAT srcLeft,
175 FX_FLOAT srcTop, 175 FX_FLOAT srcTop,
176 const CFX_RectF& dstRect, 176 const CFX_RectF& dstRect,
177 const CFX_Matrix* matrix); 177 const CFX_Matrix* matrix);
178 178
179 FWL_Error InverseRect(const CFX_RectF& rect); 179 FWL_Error InverseRect(const CFX_RectF& rect);
180 FWL_Error XorDIBitmap(const CFX_DIBitmap* srcBitmap, const CFX_RectF& rect); 180 FWL_Error XorDIBitmap(const CFX_DIBitmap* srcBitmap, const CFX_RectF& rect);
181 FWL_Error EqvDIBitmap(const CFX_DIBitmap* srcBitmap, const CFX_RectF& rect); 181 FWL_Error EqvDIBitmap(const CFX_DIBitmap* srcBitmap, const CFX_RectF& rect);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 FXTEXT_CHARPOS* charPos, 233 FXTEXT_CHARPOS* charPos,
234 CFX_RectF& rect); 234 CFX_RectF& rect);
235 235
236 CFX_RenderDevice* m_renderDevice; 236 CFX_RenderDevice* m_renderDevice;
237 CFX_ArrayTemplate<TInfo*> m_infoStack; 237 CFX_ArrayTemplate<TInfo*> m_infoStack;
238 std::unique_ptr<CAGG_Graphics> m_aggGraphics; 238 std::unique_ptr<CAGG_Graphics> m_aggGraphics;
239 friend class CAGG_Graphics; 239 friend class CAGG_Graphics;
240 }; 240 };
241 241
242 #endif // XFA_FXGRAPHICS_CFX_GRAPHICS_H_ 242 #endif // XFA_FXGRAPHICS_CFX_GRAPHICS_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_fwltheme.cpp ('k') | xfa/fxgraphics/cfx_graphics.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698