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

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

Issue 1832173003: Remove FX_DWORD from core/ and delete definition (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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_colorspace.cpp ('k') | core/fpdfapi/fpdf_page/cpdf_colorstate.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_CPDF_COLORSTATE_H_ 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATE_H_
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATE_H_ 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATE_H_
9 9
10 #include "core/fpdfapi/fpdf_page/cpdf_colorstatedata.h" 10 #include "core/fpdfapi/fpdf_page/cpdf_colorstatedata.h"
(...skipping 14 matching lines...) Expand all
25 return m_pObject ? &m_pObject->m_StrokeColor : nullptr; 25 return m_pObject ? &m_pObject->m_StrokeColor : nullptr;
26 } 26 }
27 27
28 void SetFillColor(CPDF_ColorSpace* pCS, FX_FLOAT* pValue, int nValues); 28 void SetFillColor(CPDF_ColorSpace* pCS, FX_FLOAT* pValue, int nValues);
29 void SetStrokeColor(CPDF_ColorSpace* pCS, FX_FLOAT* pValue, int nValues); 29 void SetStrokeColor(CPDF_ColorSpace* pCS, FX_FLOAT* pValue, int nValues);
30 void SetFillPattern(CPDF_Pattern* pattern, FX_FLOAT* pValue, int nValues); 30 void SetFillPattern(CPDF_Pattern* pattern, FX_FLOAT* pValue, int nValues);
31 void SetStrokePattern(CPDF_Pattern* pattern, FX_FLOAT* pValue, int nValues); 31 void SetStrokePattern(CPDF_Pattern* pattern, FX_FLOAT* pValue, int nValues);
32 32
33 private: 33 private:
34 void SetColor(CPDF_Color& color, 34 void SetColor(CPDF_Color& color,
35 FX_DWORD& rgb, 35 uint32_t& rgb,
36 CPDF_ColorSpace* pCS, 36 CPDF_ColorSpace* pCS,
37 FX_FLOAT* pValue, 37 FX_FLOAT* pValue,
38 int nValues); 38 int nValues);
39 }; 39 };
40 40
41 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATE_H_ 41 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_COLORSTATE_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_colorspace.cpp ('k') | core/fpdfapi/fpdf_page/cpdf_colorstate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698