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_COLORSTATE_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATE_H_ |
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATE_H_ | 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATE_H_ |
9 | 9 |
10 #include "core/fpdfapi/fpdf_page/include/cpdf_color.h" | 10 #include "core/fpdfapi/fpdf_page/cpdf_color.h" |
11 #include "core/fxcrt/include/cfx_count_ref.h" | 11 #include "core/fxcrt/include/cfx_count_ref.h" |
12 #include "core/fxcrt/include/fx_basic.h" | 12 #include "core/fxcrt/include/fx_basic.h" |
13 #include "core/fxcrt/include/fx_system.h" | 13 #include "core/fxcrt/include/fx_system.h" |
14 | 14 |
15 class CPDF_Color; | 15 class CPDF_Color; |
16 class CPDF_ColorSpace; | 16 class CPDF_ColorSpace; |
17 class CPDF_Pattern; | 17 class CPDF_Pattern; |
18 | 18 |
19 class CPDF_ColorState { | 19 class CPDF_ColorState { |
20 public: | 20 public: |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 void SetColor(CPDF_Color& color, | 68 void SetColor(CPDF_Color& color, |
69 uint32_t& rgb, | 69 uint32_t& rgb, |
70 CPDF_ColorSpace* pCS, | 70 CPDF_ColorSpace* pCS, |
71 FX_FLOAT* pValue, | 71 FX_FLOAT* pValue, |
72 uint32_t nValues); | 72 uint32_t nValues); |
73 | 73 |
74 CFX_CountRef<ColorData> m_Ref; | 74 CFX_CountRef<ColorData> m_Ref; |
75 }; | 75 }; |
76 | 76 |
77 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATE_H_ | 77 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATE_H_ |
OLD | NEW |