| 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_INCLUDE_CPDF_COLORSPACE_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLORSPACE_H_ |
| 8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLORSPACE_H_ | 8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLORSPACE_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/cfx_weak_ptr.h" |
| 10 #include "core/fxcrt/include/fx_string.h" | 11 #include "core/fxcrt/include/fx_string.h" |
| 11 #include "core/fxcrt/include/fx_system.h" | 12 #include "core/fxcrt/include/fx_system.h" |
| 12 | 13 |
| 13 #define PDFCS_DEVICEGRAY 1 | 14 #define PDFCS_DEVICEGRAY 1 |
| 14 #define PDFCS_DEVICERGB 2 | 15 #define PDFCS_DEVICERGB 2 |
| 15 #define PDFCS_DEVICECMYK 3 | 16 #define PDFCS_DEVICECMYK 3 |
| 16 #define PDFCS_CALGRAY 4 | 17 #define PDFCS_CALGRAY 4 |
| 17 #define PDFCS_CALRGB 5 | 18 #define PDFCS_CALRGB 5 |
| 18 #define PDFCS_LAB 6 | 19 #define PDFCS_LAB 6 |
| 19 #define PDFCS_ICCBASED 7 | 20 #define PDFCS_ICCBASED 7 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 FX_FLOAT m, | 95 FX_FLOAT m, |
| 95 FX_FLOAT y, | 96 FX_FLOAT y, |
| 96 FX_FLOAT k) const; | 97 FX_FLOAT k) const; |
| 97 | 98 |
| 98 int m_Family; | 99 int m_Family; |
| 99 uint32_t m_nComponents; | 100 uint32_t m_nComponents; |
| 100 CPDF_Array* m_pArray; | 101 CPDF_Array* m_pArray; |
| 101 uint32_t m_dwStdConversion; | 102 uint32_t m_dwStdConversion; |
| 102 }; | 103 }; |
| 103 | 104 |
| 105 using CPDF_CountedColorSpace = CFX_WeakPtr<CPDF_ColorSpace>::Handle; |
| 106 |
| 104 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLORSPACE_H_ | 107 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLORSPACE_H_ |
| OLD | NEW |