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_SHADINGPATTERN_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_SHADINGPATTERN_H_ |
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_SHADINGPATTERN_H_ | 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_SHADINGPATTERN_H_ |
9 | 9 |
10 #include "core/fpdfapi/fpdf_page/cpdf_countedobject.h" | 10 #include "core/fpdfapi/fpdf_page/cpdf_countedobject.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 ShadingType m_ShadingType; | 49 ShadingType m_ShadingType; |
50 FX_BOOL m_bShadingObj; | 50 FX_BOOL m_bShadingObj; |
51 CPDF_Object* m_pShadingObj; | 51 CPDF_Object* m_pShadingObj; |
52 | 52 |
53 // Still keep |m_pCS| as some CPDF_ColorSpace (name object) are not managed | 53 // Still keep |m_pCS| as some CPDF_ColorSpace (name object) are not managed |
54 // as counted objects. Refer to CPDF_DocPageData::GetColorSpace. | 54 // as counted objects. Refer to CPDF_DocPageData::GetColorSpace. |
55 CPDF_ColorSpace* m_pCS; | 55 CPDF_ColorSpace* m_pCS; |
56 | 56 |
57 CPDF_CountedColorSpace* m_pCountedCS; | 57 CPDF_CountedColorSpace* m_pCountedCS; |
58 CPDF_Function* m_pFunctions[4]; | 58 CPDF_Function* m_pFunctions[4]; |
59 int m_nFuncs; | 59 size_t m_nFuncs; |
60 }; | 60 }; |
61 | 61 |
62 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_SHADINGPATTERN_H_ | 62 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_SHADINGPATTERN_H_ |
OLD | NEW |