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 _FPDF_RESOURCE_ | 7 #ifndef _FPDF_RESOURCE_ |
8 #define _FPDF_RESOURCE_ | 8 #define _FPDF_RESOURCE_ |
9 #ifndef _FPDF_PARSER_ | 9 #ifndef _FPDF_PARSER_ |
10 #include "fpdf_parser.h" | 10 #include "fpdf_parser.h" |
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
785 FX_BOOL m_bShadingObj; | 785 FX_BOOL m_bShadingObj; |
786 | 786 |
787 FX_BOOL Load(); | 787 FX_BOOL Load(); |
788 | 788 |
789 FX_BOOL Reload(); | 789 FX_BOOL Reload(); |
790 | 790 |
791 int m_ShadingType; | 791 int m_ShadingType; |
792 | 792 |
793 CPDF_ColorSpace* m_pCS; | 793 CPDF_ColorSpace* m_pCS; |
794 | 794 |
795 CPDF_ColorSpace** m_pPtrCS; | |
Tom Sepez
2014/10/14 18:49:23
What if there's more than one Color that has a ref
Bo Xu
2014/10/14 20:41:06
Sorry, I didn't quite get the meaning of CPDF_Colo
| |
795 | 796 |
796 CPDF_Function* m_pFunctions[4]; | 797 CPDF_Function* m_pFunctions[4]; |
797 | 798 |
798 int m_nFuncs; | 799 int m_nFuncs; |
799 protected: | 800 protected: |
800 void Clear(); | 801 void Clear(); |
801 }; | 802 }; |
802 struct CPDF_MeshVertex { | 803 struct CPDF_MeshVertex { |
803 FX_FLOAT x, y; | 804 FX_FLOAT x, y; |
804 FX_FLOAT r, g, b; | 805 FX_FLOAT r, g, b; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
948 FX_BOOL m_bIsMask; | 949 FX_BOOL m_bIsMask; |
949 | 950 |
950 FX_BOOL m_bInterpolate; | 951 FX_BOOL m_bInterpolate; |
951 | 952 |
952 CPDF_Document* m_pDocument; | 953 CPDF_Document* m_pDocument; |
953 | 954 |
954 CPDF_Dictionary* m_pOC; | 955 CPDF_Dictionary* m_pOC; |
955 CPDF_Dictionary* InitJPEG(FX_LPBYTE pData, FX_DWORD size); | 956 CPDF_Dictionary* InitJPEG(FX_LPBYTE pData, FX_DWORD size); |
956 }; | 957 }; |
957 #endif | 958 #endif |
OLD | NEW |