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

Side by Side Diff: core/fxge/include/fx_ge.h

Issue 2017503002: Remove FX_GAMMA() and friends. They do nothing. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Blend Created 4 years, 7 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/fxge/dib/fx_dib_composite.cpp ('k') | core/fxge/skia/fx_skia_device.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 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 CORE_FXGE_INCLUDE_FX_GE_H_ 7 #ifndef CORE_FXGE_INCLUDE_FX_GE_H_
8 #define CORE_FXGE_INCLUDE_FX_GE_H_ 8 #define CORE_FXGE_INCLUDE_FX_GE_H_
9 9
10 #include "core/fxge/include/fx_dib.h" 10 #include "core/fxge/include/fx_dib.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 protected: 98 protected:
99 ClipType m_Type; 99 ClipType m_Type;
100 100
101 FX_RECT m_Box; 101 FX_RECT m_Box;
102 102
103 CFX_DIBitmapRef m_Mask; 103 CFX_DIBitmapRef m_Mask;
104 104
105 void IntersectMaskRect(FX_RECT rect, FX_RECT mask_box, CFX_DIBitmapRef Mask); 105 void IntersectMaskRect(FX_RECT rect, FX_RECT mask_box, CFX_DIBitmapRef Mask);
106 }; 106 };
107 #define FX_GAMMA(value) (value) 107
108 #define FX_GAMMA_INVERSE(value) (value)
109 inline FX_ARGB ArgbGamma(FX_ARGB argb) {
110 return argb;
111 }
112 inline FX_ARGB ArgbGammaInverse(FX_ARGB argb) {
113 return argb;
114 }
115 class CFX_PathData { 108 class CFX_PathData {
116 public: 109 public:
117 CFX_PathData(); 110 CFX_PathData();
118 111
119 CFX_PathData(const CFX_PathData& src); 112 CFX_PathData(const CFX_PathData& src);
120 113
121 ~CFX_PathData(); 114 ~CFX_PathData();
122 115
123 int GetPointCount() const { return m_PointCount; } 116 int GetPointCount() const { return m_PointCount; }
124 117
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 void FindPSFontGlyph(CFX_FaceCache* pFaceCache, 695 void FindPSFontGlyph(CFX_FaceCache* pFaceCache,
703 CFX_Font* pFont, 696 CFX_Font* pFont,
704 const FXTEXT_CHARPOS& charpos, 697 const FXTEXT_CHARPOS& charpos,
705 int& ps_fontnum, 698 int& ps_fontnum,
706 int& ps_glyphindex); 699 int& ps_glyphindex);
707 700
708 void WritePSBinary(const uint8_t* data, int len); 701 void WritePSBinary(const uint8_t* data, int len);
709 }; 702 };
710 703
711 #endif // CORE_FXGE_INCLUDE_FX_GE_H_ 704 #endif // CORE_FXGE_INCLUDE_FX_GE_H_
OLDNEW
« no previous file with comments | « core/fxge/dib/fx_dib_composite.cpp ('k') | core/fxge/skia/fx_skia_device.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698