| 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 XFA_SRC_FDE_FDE_OBJECT_H_ | 7 #ifndef XFA_FDE_FDE_OBJECT_H_ |
| 8 #define XFA_SRC_FDE_FDE_OBJECT_H_ | 8 #define XFA_FDE_FDE_OBJECT_H_ |
| 9 | 9 |
| 10 #include <cstdint> | 10 #include <cstdint> |
| 11 | 11 |
| 12 #include "core/include/fxge/fx_dib.h" | 12 #include "core/include/fxge/fx_dib.h" |
| 13 #include "xfa/src/fde/fde_brush.h" | 13 #include "xfa/fde/fde_brush.h" |
| 14 #include "xfa/src/fde/fde_pen.h" | 14 #include "xfa/fde/fde_pen.h" |
| 15 #include "xfa/src/fgas/crt/fgas_memory.h" | 15 #include "xfa/fgas/crt/fgas_memory.h" |
| 16 | 16 |
| 17 class CFDE_Pen : public IFDE_Pen, public CFX_Target { | 17 class CFDE_Pen : public IFDE_Pen, public CFX_Target { |
| 18 public: | 18 public: |
| 19 CFDE_Pen() | 19 CFDE_Pen() |
| 20 : m_Color(0), | 20 : m_Color(0), |
| 21 m_iLineCap(0), | 21 m_iLineCap(0), |
| 22 m_iLineJoin(0), | 22 m_iLineJoin(0), |
| 23 m_iDashStyle(0), | 23 m_iDashStyle(0), |
| 24 m_fDashPhase(0), | 24 m_fDashPhase(0), |
| 25 m_fMiterLimit(10), | 25 m_fMiterLimit(10), |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 virtual void SetWrapMode(int32_t iWrapMode) { m_iWrapMode = iWrapMode; } | 236 virtual void SetWrapMode(int32_t iWrapMode) { m_iWrapMode = iWrapMode; } |
| 237 CFX_PointF m_EndPoint; | 237 CFX_PointF m_EndPoint; |
| 238 CFX_PointF m_StartPoint; | 238 CFX_PointF m_StartPoint; |
| 239 FX_ARGB m_EndColor; | 239 FX_ARGB m_EndColor; |
| 240 FX_ARGB m_StartColor; | 240 FX_ARGB m_StartColor; |
| 241 CFDE_GradientColors m_GradColors; | 241 CFDE_GradientColors m_GradColors; |
| 242 int32_t m_iWrapMode; | 242 int32_t m_iWrapMode; |
| 243 CFX_Matrix m_Matrix; | 243 CFX_Matrix m_Matrix; |
| 244 }; | 244 }; |
| 245 | 245 |
| 246 #endif // XFA_SRC_FDE_FDE_OBJECT_H_ | 246 #endif // XFA_FDE_FDE_OBJECT_H_ |
| OLD | NEW |