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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 | 163 |
164 int m_PointCount; | 164 int m_PointCount; |
165 | 165 |
166 FX_PATHPOINT* m_pPoints; | 166 FX_PATHPOINT* m_pPoints; |
167 | 167 |
168 int m_AllocCount; | 168 int m_AllocCount; |
169 }; | 169 }; |
170 class CFX_GraphStateData { | 170 class CFX_GraphStateData { |
171 public: | 171 public: |
172 CFX_GraphStateData(); | 172 CFX_GraphStateData(); |
173 | |
174 CFX_GraphStateData(const CFX_GraphStateData& src); | 173 CFX_GraphStateData(const CFX_GraphStateData& src); |
175 | |
176 ~CFX_GraphStateData(); | 174 ~CFX_GraphStateData(); |
177 | 175 |
178 void Copy(const CFX_GraphStateData& src); | 176 void Copy(const CFX_GraphStateData& src); |
179 | |
180 void SetDashCount(int count); | 177 void SetDashCount(int count); |
181 | 178 |
182 typedef enum { LineCapButt = 0, LineCapRound = 1, LineCapSquare = 2 } LineCap; | 179 typedef enum { LineCapButt = 0, LineCapRound = 1, LineCapSquare = 2 } LineCap; |
183 LineCap m_LineCap; | 180 LineCap m_LineCap; |
184 int m_DashCount; | 181 int m_DashCount; |
185 FX_FLOAT* m_DashArray; | 182 FX_FLOAT* m_DashArray; |
186 FX_FLOAT m_DashPhase; | 183 FX_FLOAT m_DashPhase; |
187 | 184 |
188 typedef enum { | 185 typedef enum { |
189 LineJoinMiter = 0, | 186 LineJoinMiter = 0, |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 void FindPSFontGlyph(CFX_FaceCache* pFaceCache, | 722 void FindPSFontGlyph(CFX_FaceCache* pFaceCache, |
726 CFX_Font* pFont, | 723 CFX_Font* pFont, |
727 const FXTEXT_CHARPOS& charpos, | 724 const FXTEXT_CHARPOS& charpos, |
728 int& ps_fontnum, | 725 int& ps_fontnum, |
729 int& ps_glyphindex); | 726 int& ps_glyphindex); |
730 | 727 |
731 void WritePSBinary(const uint8_t* data, int len); | 728 void WritePSBinary(const uint8_t* data, int len); |
732 }; | 729 }; |
733 | 730 |
734 #endif // CORE_FXGE_INCLUDE_FX_GE_H_ | 731 #endif // CORE_FXGE_INCLUDE_FX_GE_H_ |
OLD | NEW |