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

Side by Side Diff: xfa/src/fdp/include/fde_pth.h

Issue 1746053003: Remove foxitlib.h and foxitxfa.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review cleanup 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/include/fwl/basewidget/fxmath_barcode.h ('k') | xfa/src/fdp/src/css/fde_csscache.cpp » ('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_SRC_FDP_INCLUDE_FDE_PTH_H_ 7 #ifndef XFA_SRC_FDP_INCLUDE_FDE_PTH_H_
8 #define XFA_SRC_FDP_INCLUDE_FDE_PTH_H_ 8 #define XFA_SRC_FDP_INCLUDE_FDE_PTH_H_
9 9
10 class IFDE_Path; 10 #include "core/include/fxcrt/fx_coordinates.h"
11 #include "core/include/fxcrt/fx_system.h"
12
11 class IFDE_Path { 13 class IFDE_Path {
12 public: 14 public:
13 static IFDE_Path* Create(); 15 static IFDE_Path* Create();
14 virtual ~IFDE_Path() {} 16 virtual ~IFDE_Path() {}
15 virtual void Release() = 0; 17 virtual void Release() = 0;
16 virtual FX_BOOL StartFigure() = 0; 18 virtual FX_BOOL StartFigure() = 0;
17 virtual FX_BOOL CloseFigure() = 0; 19 virtual FX_BOOL CloseFigure() = 0;
18 virtual void AddBezier(const CFX_PointsF& points) = 0; 20 virtual void AddBezier(const CFX_PointsF& points) = 0;
19 virtual void AddBeziers(const CFX_PointsF& points) = 0; 21 virtual void AddBeziers(const CFX_PointsF& points) = 0;
20 virtual void AddCurve(const CFX_PointsF& points, 22 virtual void AddCurve(const CFX_PointsF& points,
21 FX_BOOL bClosed, 23 FX_BOOL bClosed,
22 FX_FLOAT fTension = 0.5f) = 0; 24 FX_FLOAT fTension = 0.5f) = 0;
23 virtual void AddEllipse(const CFX_RectF& rect) = 0; 25 virtual void AddEllipse(const CFX_RectF& rect) = 0;
24 virtual void AddLines(const CFX_PointsF& points) = 0; 26 virtual void AddLines(const CFX_PointsF& points) = 0;
25 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;
26 virtual void AddPath(const IFDE_Path* pSrc, FX_BOOL bConnect) = 0; 28 virtual void AddPath(const IFDE_Path* pSrc, FX_BOOL bConnect) = 0;
27 virtual void AddPolygon(const CFX_PointsF& points) = 0; 29 virtual void AddPolygon(const CFX_PointsF& points) = 0;
28 virtual void AddRectangle(const CFX_RectF& rect) = 0; 30 virtual void AddRectangle(const CFX_RectF& rect) = 0;
29 virtual void GetBBox(CFX_RectF& bbox) const = 0; 31 virtual void GetBBox(CFX_RectF& bbox) const = 0;
30 virtual void GetBBox(CFX_RectF& bbox, 32 virtual void GetBBox(CFX_RectF& bbox,
31 FX_FLOAT fLineWidth, 33 FX_FLOAT fLineWidth,
32 FX_FLOAT fMiterLimit) const = 0; 34 FX_FLOAT fMiterLimit) const = 0;
33 }; 35 };
34 36
35 #endif // XFA_SRC_FDP_INCLUDE_FDE_PTH_H_ 37 #endif // XFA_SRC_FDP_INCLUDE_FDE_PTH_H_
OLDNEW
« no previous file with comments | « xfa/include/fwl/basewidget/fxmath_barcode.h ('k') | xfa/src/fdp/src/css/fde_csscache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698