| 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 #ifndef __H_FX_GRAPHICS__ | 7 #ifndef XFA_INCLUDE_FXGRAPHICS_FX_GRAPHICS_H_ |
| 8 #define __H_FX_GRAPHICS__ | 8 #define XFA_INCLUDE_FXGRAPHICS_FX_GRAPHICS_H_ |
| 9 |
| 10 #include "core/include/fpdfapi/fpdf_pageobj.h" |
| 9 | 11 |
| 10 typedef int FX_ERR; | 12 typedef int FX_ERR; |
| 11 #define FX_ERR_Succeeded 0 | 13 #define FX_ERR_Succeeded 0 |
| 12 #define FX_ERR_Indefinite -1 | 14 #define FX_ERR_Indefinite -1 |
| 13 #define FX_ERR_Parameter_Invalid -100 | 15 #define FX_ERR_Parameter_Invalid -100 |
| 14 #define FX_ERR_Property_Invalid -200 | 16 #define FX_ERR_Property_Invalid -200 |
| 15 #define FX_ERR_Intermediate_Value_Invalid -300 | 17 #define FX_ERR_Intermediate_Value_Invalid -300 |
| 16 #define FX_ERR_Method_Not_Supported -400 | 18 #define FX_ERR_Method_Not_Supported -400 |
| 17 #define FX_ERR_Out_Of_Memory -500 | 19 #define FX_ERR_Out_Of_Memory -500 |
| 18 #define _FX_RETURN_IF_FAIL(arg) \ | 20 #define _FX_RETURN_IF_FAIL(arg) \ |
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 CFX_PointF _endPoint; | 491 CFX_PointF _endPoint; |
| 490 FX_FLOAT _beginRadius; | 492 FX_FLOAT _beginRadius; |
| 491 FX_FLOAT _endRadius; | 493 FX_FLOAT _endRadius; |
| 492 FX_BOOL _isExtendedBegin; | 494 FX_BOOL _isExtendedBegin; |
| 493 FX_BOOL _isExtendedEnd; | 495 FX_BOOL _isExtendedEnd; |
| 494 FX_ARGB _beginArgb; | 496 FX_ARGB _beginArgb; |
| 495 FX_ARGB _endArgb; | 497 FX_ARGB _endArgb; |
| 496 FX_ARGB _argbArray[FX_SHADING_Steps]; | 498 FX_ARGB _argbArray[FX_SHADING_Steps]; |
| 497 friend class CFX_Graphics; | 499 friend class CFX_Graphics; |
| 498 }; | 500 }; |
| 499 #endif | 501 |
| 502 #endif // XFA_INCLUDE_FXGRAPHICS_FX_GRAPHICS_H_ |
| OLD | NEW |