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/fgas/layout/fgas_rtfbreak.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'xfa/fgas/layout/fgas_rtfbreak.h') diff --git a/xfa/fgas/layout/fgas_rtfbreak.h b/xfa/fgas/layout/fgas_rtfbreak.h index 339d2f4bcd..978634d1c8 100644 --- a/xfa/fgas/layout/fgas_rtfbreak.h +++ b/xfa/fgas/layout/fgas_rtfbreak.h @@ -37,7 +37,7 @@ struct FX_RTFTEXTOBJ { CFX_RetainPtr pFont; const CFX_RectF* pRect; wchar_t wLineBreakChar; - FX_FLOAT fFontSize; + float fFontSize; int32_t iLength; int32_t iBidiLevel; int32_t iHorizontalScale; @@ -49,19 +49,19 @@ class CFX_RTFBreak { explicit CFX_RTFBreak(uint32_t dwLayoutStyles); ~CFX_RTFBreak(); - void SetLineBoundary(FX_FLOAT fLineStart, FX_FLOAT fLineEnd); - void SetLineStartPos(FX_FLOAT fLinePos); + void SetLineBoundary(float fLineStart, float fLineEnd); + void SetLineStartPos(float fLinePos); void SetFont(const CFX_RetainPtr& pFont); - void SetFontSize(FX_FLOAT fFontSize); - void SetTabWidth(FX_FLOAT fTabWidth); - void SetLineBreakTolerance(FX_FLOAT fTolerance); + void SetFontSize(float fFontSize); + void SetTabWidth(float fTabWidth); + void SetLineBreakTolerance(float fTolerance); void SetHorizontalScale(int32_t iScale); void SetVerticalScale(int32_t iScale); - void SetCharSpace(FX_FLOAT fCharSpace); + void SetCharSpace(float fCharSpace); void SetAlignment(CFX_RTFLineAlignment align) { m_iAlignment = align; } void SetUserData(const CFX_RetainPtr& pUserData); - void AddPositionedTab(FX_FLOAT fTabPos); + void AddPositionedTab(float fTabPos); CFX_BreakType EndBreak(CFX_BreakType dwStatus); int32_t CountBreakPieces() const; -- cgit v1.2.3