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

Side by Side Diff: xfa/fde/fde_path.h

Issue 1825953002: Move core/include/fxcrt to core/fxcrt/include. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 | « xfa/fde/fde_brush.h ('k') | xfa/fde/fde_render.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 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 XFA_FDE_FDE_PATH_H_ 7 #ifndef XFA_FDE_FDE_PATH_H_
8 #define XFA_FDE_FDE_PATH_H_ 8 #define XFA_FDE_FDE_PATH_H_
9 9
10 #include "core/include/fxcrt/fx_coordinates.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
11 #include "core/include/fxcrt/fx_system.h" 11 #include "core/fxcrt/include/fx_system.h"
12 12
13 class IFDE_Path { 13 class IFDE_Path {
14 public: 14 public:
15 static IFDE_Path* Create(); 15 static IFDE_Path* Create();
16 virtual ~IFDE_Path() {} 16 virtual ~IFDE_Path() {}
17 virtual void Release() = 0; 17 virtual void Release() = 0;
18 virtual FX_BOOL StartFigure() = 0; 18 virtual FX_BOOL StartFigure() = 0;
19 virtual FX_BOOL CloseFigure() = 0; 19 virtual FX_BOOL CloseFigure() = 0;
20 virtual void AddBezier(const CFX_PointsF& points) = 0; 20 virtual void AddBezier(const CFX_PointsF& points) = 0;
21 virtual void AddBeziers(const CFX_PointsF& points) = 0; 21 virtual void AddBeziers(const CFX_PointsF& points) = 0;
22 virtual void AddCurve(const CFX_PointsF& points, 22 virtual void AddCurve(const CFX_PointsF& points,
23 FX_BOOL bClosed, 23 FX_BOOL bClosed,
24 FX_FLOAT fTension = 0.5f) = 0; 24 FX_FLOAT fTension = 0.5f) = 0;
25 virtual void AddEllipse(const CFX_RectF& rect) = 0; 25 virtual void AddEllipse(const CFX_RectF& rect) = 0;
26 virtual void AddLines(const CFX_PointsF& points) = 0; 26 virtual void AddLines(const CFX_PointsF& points) = 0;
27 virtual void AddLine(const CFX_PointF& pt1, const CFX_PointF& pt2) = 0; 27 virtual void AddLine(const CFX_PointF& pt1, const CFX_PointF& pt2) = 0;
28 virtual void AddPath(const IFDE_Path* pSrc, FX_BOOL bConnect) = 0; 28 virtual void AddPath(const IFDE_Path* pSrc, FX_BOOL bConnect) = 0;
29 virtual void AddPolygon(const CFX_PointsF& points) = 0; 29 virtual void AddPolygon(const CFX_PointsF& points) = 0;
30 virtual void AddRectangle(const CFX_RectF& rect) = 0; 30 virtual void AddRectangle(const CFX_RectF& rect) = 0;
31 virtual void GetBBox(CFX_RectF& bbox) const = 0; 31 virtual void GetBBox(CFX_RectF& bbox) const = 0;
32 virtual void GetBBox(CFX_RectF& bbox, 32 virtual void GetBBox(CFX_RectF& bbox,
33 FX_FLOAT fLineWidth, 33 FX_FLOAT fLineWidth,
34 FX_FLOAT fMiterLimit) const = 0; 34 FX_FLOAT fMiterLimit) const = 0;
35 }; 35 };
36 36
37 #endif // XFA_FDE_FDE_PATH_H_ 37 #endif // XFA_FDE_FDE_PATH_H_
OLDNEW
« no previous file with comments | « xfa/fde/fde_brush.h ('k') | xfa/fde/fde_render.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698