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

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

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

Powered by Google App Engine
This is Rietveld 408576698