Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1168)

Side by Side Diff: core/fpdfapi/fpdf_page/cpdf_shadingpattern.h

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (Closed)
Patch Set: Rebase to master Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_shadingobject.h ('k') | core/fpdfapi/fpdf_page/cpdf_textobject.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "core/fpdfapi/fpdf_page/cpdf_countedobject.h" 13 #include "core/fpdfapi/fpdf_page/cpdf_countedobject.h"
14 #include "core/fpdfapi/fpdf_page/cpdf_pattern.h" 14 #include "core/fpdfapi/fpdf_page/cpdf_pattern.h"
15 #include "core/fxcrt/include/fx_system.h" 15 #include "core/fxcrt/fx_system.h"
16 16
17 enum ShadingType { 17 enum ShadingType {
18 kInvalidShading = 0, 18 kInvalidShading = 0,
19 kFunctionBasedShading = 1, 19 kFunctionBasedShading = 1,
20 kAxialShading = 2, 20 kAxialShading = 2,
21 kRadialShading = 3, 21 kRadialShading = 3,
22 kFreeFormGouraudTriangleMeshShading = 4, 22 kFreeFormGouraudTriangleMeshShading = 4,
23 kLatticeFormGouraudTriangleMeshShading = 5, 23 kLatticeFormGouraudTriangleMeshShading = 5,
24 kCoonsPatchMeshShading = 6, 24 kCoonsPatchMeshShading = 6,
25 kTensorProductPatchMeshShading = 7, 25 kTensorProductPatchMeshShading = 7,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 // Still keep |m_pCS| as some CPDF_ColorSpace (name object) are not managed 67 // Still keep |m_pCS| as some CPDF_ColorSpace (name object) are not managed
68 // as counted objects. Refer to CPDF_DocPageData::GetColorSpace. 68 // as counted objects. Refer to CPDF_DocPageData::GetColorSpace.
69 CPDF_ColorSpace* m_pCS; 69 CPDF_ColorSpace* m_pCS;
70 70
71 CPDF_CountedColorSpace* m_pCountedCS; 71 CPDF_CountedColorSpace* m_pCountedCS;
72 std::vector<std::unique_ptr<CPDF_Function>> m_pFunctions; 72 std::vector<std::unique_ptr<CPDF_Function>> m_pFunctions;
73 }; 73 };
74 74
75 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_SHADINGPATTERN_H_ 75 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_SHADINGPATTERN_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_shadingobject.h ('k') | core/fpdfapi/fpdf_page/cpdf_textobject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698