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 CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATEDATA_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATEDATA_H_ |
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATEDATA_H_ | 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATEDATA_H_ |
9 | 9 |
10 #include "core/fpdfapi/fpdf_page/include/cpdf_color.h" | 10 #include "core/fpdfapi/fpdf_page/include/cpdf_color.h" |
11 #include "core/fxcrt/include/fx_system.h" | 11 #include "core/fxcrt/include/fx_system.h" |
12 | 12 |
13 class CPDF_ColorStateData { | 13 class CPDF_ColorStateData { |
14 public: | 14 public: |
15 CPDF_ColorStateData() : m_FillRGB(0), m_StrokeRGB(0) {} | 15 CPDF_ColorStateData() : m_FillRGB(0), m_StrokeRGB(0) {} |
16 CPDF_ColorStateData(const CPDF_ColorStateData& src); | 16 CPDF_ColorStateData(const CPDF_ColorStateData& src); |
17 | 17 |
18 void Default(); | 18 void Default(); |
19 | 19 |
20 CPDF_Color m_FillColor; | 20 CPDF_Color m_FillColor; |
21 FX_DWORD m_FillRGB; | 21 uint32_t m_FillRGB; |
22 CPDF_Color m_StrokeColor; | 22 CPDF_Color m_StrokeColor; |
23 FX_DWORD m_StrokeRGB; | 23 uint32_t m_StrokeRGB; |
24 }; | 24 }; |
25 | 25 |
26 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATEDATA_H_ | 26 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATEDATA_H_ |
OLD | NEW |