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_textbreak.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'xfa/fgas/layout/fgas_textbreak.h') diff --git a/xfa/fgas/layout/fgas_textbreak.h b/xfa/fgas/layout/fgas_textbreak.h index fd864f1296..d4aa1418e7 100644 --- a/xfa/fgas/layout/fgas_textbreak.h +++ b/xfa/fgas/layout/fgas_textbreak.h @@ -55,7 +55,7 @@ struct FX_TXTRUN { int32_t* pWidths; int32_t iLength; CFX_RetainPtr pFont; - FX_FLOAT fFontSize; + float fFontSize; uint32_t dwStyles; int32_t iHorizontalScale; int32_t iVerticalScale; @@ -70,19 +70,19 @@ class CFX_TxtBreak { CFX_TxtBreak(); ~CFX_TxtBreak(); - void SetLineWidth(FX_FLOAT fLineWidth); + void SetLineWidth(float fLineWidth); uint32_t GetLayoutStyles() const { return m_dwLayoutStyles; } void SetLayoutStyles(uint32_t dwLayoutStyles); void SetFont(const CFX_RetainPtr& pFont); - void SetFontSize(FX_FLOAT fFontSize); - void SetTabWidth(FX_FLOAT fTabWidth, bool bEquidistant); + void SetFontSize(float fFontSize); + void SetTabWidth(float fTabWidth, bool bEquidistant); void SetDefaultChar(wchar_t wch); void SetParagraphBreakChar(wchar_t wch); - void SetLineBreakTolerance(FX_FLOAT fTolerance); + void SetLineBreakTolerance(float fTolerance); void SetHorizontalScale(int32_t iScale); - void SetCharSpace(FX_FLOAT fCharSpace); + void SetCharSpace(float fCharSpace); void SetAlignment(int32_t iAlignment); - void SetCombWidth(FX_FLOAT fCombWidth); + void SetCombWidth(float fCombWidth); CFX_BreakType EndBreak(CFX_BreakType dwStatus); int32_t CountBreakPieces() const; const CFX_BreakPiece* GetBreakPiece(int32_t index) const; -- cgit v1.2.3