OLD | NEW |
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_CAGG_GRAPHICS_H_ | 7 #ifndef XFA_FXGRAPHICS_CAGG_GRAPHICS_H_ |
8 #define XFA_FXGRAPHICS_CAGG_GRAPHICS_H_ | 8 #define XFA_FXGRAPHICS_CAGG_GRAPHICS_H_ |
9 | 9 |
10 #include "core/fxge/include/fx_dib.h" | 10 #include "core/fxge/fx_dib.h" |
11 #include "xfa/fxgraphics/include/cfx_graphics.h" | 11 #include "xfa/fxgraphics/include/cfx_graphics.h" |
12 | 12 |
13 class CFX_Graphics; | 13 class CFX_Graphics; |
14 | 14 |
15 class CAGG_Graphics { | 15 class CAGG_Graphics { |
16 public: | 16 public: |
17 CAGG_Graphics(); | 17 CAGG_Graphics(); |
18 virtual ~CAGG_Graphics(); | 18 virtual ~CAGG_Graphics(); |
19 | 19 |
20 FWL_Error Create(CFX_Graphics* owner, | 20 FWL_Error Create(CFX_Graphics* owner, |
21 int32_t width, | 21 int32_t width, |
22 int32_t height, | 22 int32_t height, |
23 FXDIB_Format format); | 23 FXDIB_Format format); |
24 | 24 |
25 private: | 25 private: |
26 CFX_Graphics* m_owner; | 26 CFX_Graphics* m_owner; |
27 }; | 27 }; |
28 | 28 |
29 #endif // XFA_FXGRAPHICS_CAGG_GRAPHICS_H_ | 29 #endif // XFA_FXGRAPHICS_CAGG_GRAPHICS_H_ |
OLD | NEW |