| 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_PAGE_CPDF_MESHSTREAM_H_ | 7 #ifndef CORE_FPDFAPI_PAGE_CPDF_MESHSTREAM_H_ |
| 8 #define CORE_FPDFAPI_PAGE_CPDF_MESHSTREAM_H_ | 8 #define CORE_FPDFAPI_PAGE_CPDF_MESHSTREAM_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "core/fpdfapi/fpdf_parser/cpdf_stream_acc.h" | |
| 14 #include "core/fpdfapi/page/cpdf_shadingpattern.h" | 13 #include "core/fpdfapi/page/cpdf_shadingpattern.h" |
| 14 #include "core/fpdfapi/parser/cpdf_stream_acc.h" |
| 15 #include "core/fxcrt/fx_basic.h" | 15 #include "core/fxcrt/fx_basic.h" |
| 16 #include "core/fxcrt/fx_system.h" | 16 #include "core/fxcrt/fx_system.h" |
| 17 | 17 |
| 18 struct CPDF_MeshVertex { | 18 struct CPDF_MeshVertex { |
| 19 FX_FLOAT x; | 19 FX_FLOAT x; |
| 20 FX_FLOAT y; | 20 FX_FLOAT y; |
| 21 FX_FLOAT r; | 21 FX_FLOAT r; |
| 22 FX_FLOAT g; | 22 FX_FLOAT g; |
| 23 FX_FLOAT b; | 23 FX_FLOAT b; |
| 24 }; | 24 }; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 FX_FLOAT m_xmax; | 67 FX_FLOAT m_xmax; |
| 68 FX_FLOAT m_ymin; | 68 FX_FLOAT m_ymin; |
| 69 FX_FLOAT m_ymax; | 69 FX_FLOAT m_ymax; |
| 70 FX_FLOAT m_ColorMin[kMaxComponents]; | 70 FX_FLOAT m_ColorMin[kMaxComponents]; |
| 71 FX_FLOAT m_ColorMax[kMaxComponents]; | 71 FX_FLOAT m_ColorMax[kMaxComponents]; |
| 72 CPDF_StreamAcc m_Stream; | 72 CPDF_StreamAcc m_Stream; |
| 73 CFX_BitStream m_BitStream; | 73 CFX_BitStream m_BitStream; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 #endif // CORE_FPDFAPI_PAGE_CPDF_MESHSTREAM_H_ | 76 #endif // CORE_FPDFAPI_PAGE_CPDF_MESHSTREAM_H_ |
| OLD | NEW |