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

Side by Side Diff: core/fxge/cfx_pathdata.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_graphstatedata.h ('k') | core/fxge/cfx_renderdevice.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_PATHDATA_H_ 7 #ifndef CORE_FXGE_CFX_PATHDATA_H_
8 #define CORE_FXGE_INCLUDE_CFX_PATHDATA_H_ 8 #define CORE_FXGE_CFX_PATHDATA_H_
9 9
10 #include "core/fxcrt/fx_coordinates.h" 10 #include "core/fxcrt/fx_coordinates.h"
11 #include "core/fxcrt/fx_system.h" 11 #include "core/fxcrt/fx_system.h"
12 #include "core/fxge/include/cfx_renderdevice.h" 12 #include "core/fxge/cfx_renderdevice.h"
13 13
14 struct FX_PATHPOINT { 14 struct FX_PATHPOINT {
15 FX_FLOAT m_PointX; 15 FX_FLOAT m_PointX;
16 FX_FLOAT m_PointY; 16 FX_FLOAT m_PointY;
17 int m_Flag; 17 int m_Flag;
18 }; 18 };
19 19
20 class CFX_PathData { 20 class CFX_PathData {
21 public: 21 public:
22 CFX_PathData(); 22 CFX_PathData();
(...skipping 23 matching lines...) Expand all
46 void SetPoint(int index, FX_FLOAT x, FX_FLOAT y, int flag); 46 void SetPoint(int index, FX_FLOAT x, FX_FLOAT y, int flag);
47 void TrimPoints(int nPoints); 47 void TrimPoints(int nPoints);
48 void Copy(const CFX_PathData& src); 48 void Copy(const CFX_PathData& src);
49 49
50 private: 50 private:
51 int m_PointCount; 51 int m_PointCount;
52 int m_AllocCount; 52 int m_AllocCount;
53 FX_PATHPOINT* m_pPoints; 53 FX_PATHPOINT* m_pPoints;
54 }; 54 };
55 55
56 #endif // CORE_FXGE_INCLUDE_CFX_PATHDATA_H_ 56 #endif // CORE_FXGE_CFX_PATHDATA_H_
OLDNEW
« no previous file with comments | « core/fxge/cfx_graphstatedata.h ('k') | core/fxge/cfx_renderdevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698