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

Side by Side Diff: core/fxge/cfx_graphstatedata.h

Issue 2377393002: Move core/fxge/include to core/fxge (Closed)
Patch Set: Rebase to master 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/fxge/cfx_graphstate.h ('k') | core/fxge/cfx_pathdata.h » ('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_FXGE_INCLUDE_CFX_GRAPHSTATEDATA_H_ 7 #ifndef CORE_FXGE_CFX_GRAPHSTATEDATA_H_
8 #define CORE_FXGE_INCLUDE_CFX_GRAPHSTATEDATA_H_ 8 #define CORE_FXGE_CFX_GRAPHSTATEDATA_H_
9 9
10 #include "core/fxcrt/fx_system.h" 10 #include "core/fxcrt/fx_system.h"
11 11
12 class CFX_GraphStateData { 12 class CFX_GraphStateData {
13 public: 13 public:
14 enum LineCap { LineCapButt = 0, LineCapRound = 1, LineCapSquare = 2 }; 14 enum LineCap { LineCapButt = 0, LineCapRound = 1, LineCapSquare = 2 };
15 15
16 CFX_GraphStateData(); 16 CFX_GraphStateData();
17 CFX_GraphStateData(const CFX_GraphStateData& src); 17 CFX_GraphStateData(const CFX_GraphStateData& src);
18 ~CFX_GraphStateData(); 18 ~CFX_GraphStateData();
19 19
20 void Copy(const CFX_GraphStateData& src); 20 void Copy(const CFX_GraphStateData& src);
21 void SetDashCount(int count); 21 void SetDashCount(int count);
22 22
23 LineCap m_LineCap; 23 LineCap m_LineCap;
24 int m_DashCount; 24 int m_DashCount;
25 FX_FLOAT* m_DashArray; 25 FX_FLOAT* m_DashArray;
26 FX_FLOAT m_DashPhase; 26 FX_FLOAT m_DashPhase;
27 27
28 enum LineJoin { 28 enum LineJoin {
29 LineJoinMiter = 0, 29 LineJoinMiter = 0,
30 LineJoinRound = 1, 30 LineJoinRound = 1,
31 LineJoinBevel = 2, 31 LineJoinBevel = 2,
32 }; 32 };
33 LineJoin m_LineJoin; 33 LineJoin m_LineJoin;
34 FX_FLOAT m_MiterLimit; 34 FX_FLOAT m_MiterLimit;
35 FX_FLOAT m_LineWidth; 35 FX_FLOAT m_LineWidth;
36 }; 36 };
37 37
38 #endif // CORE_FXGE_INCLUDE_CFX_GRAPHSTATEDATA_H_ 38 #endif // CORE_FXGE_CFX_GRAPHSTATEDATA_H_
OLDNEW
« no previous file with comments | « core/fxge/cfx_graphstate.h ('k') | core/fxge/cfx_pathdata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698