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

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

Issue 2379033002: Move core/fpdfapi/fpdf_page/include to core/fpdfapi/fpdf_page (Closed)
Patch Set: Header sort 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_clippath.cpp ('k') | core/fpdfapi/fpdf_page/cpdf_color.cpp » ('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_INCLUDE_CPDF_COLOR_H_ 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_COLOR_H_
8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLOR_H_ 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_COLOR_H_
9 9
10 #include "core/fpdfapi/fpdf_page/include/cpdf_colorspace.h" 10 #include "core/fpdfapi/fpdf_page/cpdf_colorspace.h"
11 #include "core/fxcrt/include/fx_system.h" 11 #include "core/fxcrt/include/fx_system.h"
12 12
13 class CPDF_Pattern; 13 class CPDF_Pattern;
14 14
15 class CPDF_Color { 15 class CPDF_Color {
16 public: 16 public:
17 CPDF_Color(); 17 CPDF_Color();
18 ~CPDF_Color(); 18 ~CPDF_Color();
19 19
20 bool IsNull() const { return !m_pBuffer; } 20 bool IsNull() const { return !m_pBuffer; }
(...skipping 10 matching lines...) Expand all
31 const CPDF_ColorSpace* GetColorSpace() const { return m_pCS; } 31 const CPDF_ColorSpace* GetColorSpace() const { return m_pCS; }
32 32
33 protected: 33 protected:
34 void ReleaseBuffer(); 34 void ReleaseBuffer();
35 void ReleaseColorSpace(); 35 void ReleaseColorSpace();
36 36
37 CPDF_ColorSpace* m_pCS; 37 CPDF_ColorSpace* m_pCS;
38 FX_FLOAT* m_pBuffer; 38 FX_FLOAT* m_pBuffer;
39 }; 39 };
40 40
41 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLOR_H_ 41 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_COLOR_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_clippath.cpp ('k') | core/fpdfapi/fpdf_page/cpdf_color.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698