OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |