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 "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 Loading... |
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 }; |
OLD | NEW |