From 05df075154a832fcb476e1dfcfb865722d0ea898 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 14 Mar 2017 14:43:42 -0400 Subject: Replace FX_FLOAT with underlying float type. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I158b7d80b0ec28b742a9f2d5a96f3dde7fb3ab56 Reviewed-on: https://pdfium-review.googlesource.com/3031 Commit-Queue: dsinclair Reviewed-by: Tom Sepez Reviewed-by: Nicolás Peña --- xfa/fde/cfde_path.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xfa/fde/cfde_path.h') diff --git a/xfa/fde/cfde_path.h b/xfa/fde/cfde_path.h index 99ff4d3680..b0a229f172 100644 --- a/xfa/fde/cfde_path.h +++ b/xfa/fde/cfde_path.h @@ -20,7 +20,7 @@ class CFDE_Path { void AddBeziers(const std::vector& points); void AddCurve(const std::vector& points, bool bClosed, - FX_FLOAT fTension = 0.5f); + float fTension = 0.5f); void AddEllipse(const CFX_RectF& rect); void AddLines(const std::vector& points); void AddLine(const CFX_PointF& pt1, const CFX_PointF& pt2); @@ -29,7 +29,7 @@ class CFDE_Path { void AddRectangle(const CFX_RectF& rect); CFX_RectF GetBBox() const; - CFX_RectF GetBBox(FX_FLOAT fLineWidth, FX_FLOAT fMiterLimit) const; + CFX_RectF GetBBox(float fLineWidth, float fMiterLimit) const; bool FigureClosed() const; void BezierTo(const CFX_PointF& p1, @@ -37,15 +37,15 @@ class CFDE_Path { const CFX_PointF& p3); void ArcTo(bool bStart, const CFX_RectF& rect, - FX_FLOAT startAngle, - FX_FLOAT endAngle); + float startAngle, + float endAngle); void MoveTo(const CFX_PointF& p); void LineTo(const CFX_PointF& p); void GetCurveTangents(const std::vector& points, std::vector* tangents, bool bClosed, - FX_FLOAT fTension) const; + float fTension) const; CFX_PathData m_Path; }; -- cgit v1.2.3