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

Side by Side Diff: xfa/fxgraphics/fx_graphics.cpp

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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/parser/xfa_utils_imp_unittest.cpp ('k') | xfa/fxgraphics/fx_path_generator.h » ('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 #include "xfa/include/fxgraphics/fx_graphics.h" 7 #include "xfa/include/fxgraphics/fx_graphics.h"
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "xfa/src/fxgraphics/fx_path_generator.h" 11 #include "xfa/fxgraphics/fx_path_generator.h"
12 #include "xfa/src/fxgraphics/pre.h" 12 #include "xfa/fxgraphics/pre.h"
13 13
14 class CAGG_Graphics { 14 class CAGG_Graphics {
15 public: 15 public:
16 CAGG_Graphics(); 16 CAGG_Graphics();
17 FX_ERR Create(CFX_Graphics* owner, 17 FX_ERR Create(CFX_Graphics* owner,
18 int32_t width, 18 int32_t width,
19 int32_t height, 19 int32_t height,
20 FXDIB_Format format); 20 FXDIB_Format format);
21 virtual ~CAGG_Graphics(); 21 virtual ~CAGG_Graphics();
22 22
(...skipping 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 b3 = (int32_t)(i * bScale); 1539 b3 = (int32_t)(i * bScale);
1540 _argbArray[i] = 1540 _argbArray[i] =
1541 FXARGB_TODIB(FXARGB_MAKE((a1 + a3), (r1 + r3), (g1 + g3), (b1 + b3))); 1541 FXARGB_TODIB(FXARGB_MAKE((a1 + a3), (r1 + r3), (g1 + g3), (b1 + b3)));
1542 } 1542 }
1543 return FX_ERR_Succeeded; 1543 return FX_ERR_Succeeded;
1544 } 1544 }
1545 class CFX_Pause : public IFX_Pause { 1545 class CFX_Pause : public IFX_Pause {
1546 public: 1546 public:
1547 virtual FX_BOOL NeedToPauseNow() { return TRUE; } 1547 virtual FX_BOOL NeedToPauseNow() { return TRUE; }
1548 }; 1548 };
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_utils_imp_unittest.cpp ('k') | xfa/fxgraphics/fx_path_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698