diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-03-14 14:43:42 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-14 19:05:58 +0000 |
commit | 05df075154a832fcb476e1dfcfb865722d0ea898 (patch) | |
tree | b8b771b62adae74d5d5ee561db75d10de3a848bf /core/fpdfdoc/cpvt_wordprops.h | |
parent | 6b94f01d1c8ad386d497428c7397b1a99614aeba (diff) | |
download | pdfium-05df075154a832fcb476e1dfcfb865722d0ea898.tar.xz |
Replace FX_FLOAT with underlying float type.
Change-Id: I158b7d80b0ec28b742a9f2d5a96f3dde7fb3ab56
Reviewed-on: https://pdfium-review.googlesource.com/3031
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpvt_wordprops.h')
-rw-r--r-- | core/fpdfdoc/cpvt_wordprops.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fpdfdoc/cpvt_wordprops.h b/core/fpdfdoc/cpvt_wordprops.h index 2b7084116a..2d0e5d51b3 100644 --- a/core/fpdfdoc/cpvt_wordprops.h +++ b/core/fpdfdoc/cpvt_wordprops.h @@ -22,12 +22,12 @@ struct CPVT_WordProps { nHorzScale(0) {} CPVT_WordProps(int32_t fontIndex, - FX_FLOAT fontSize, + float fontSize, FX_COLORREF wordColor = 0, CPDF_VariableText::ScriptType scriptType = CPDF_VariableText::ScriptType::Normal, int32_t wordStyle = 0, - FX_FLOAT charSpace = 0, + float charSpace = 0, int32_t horzScale = 100) : nFontIndex(fontIndex), fFontSize(fontSize), @@ -47,11 +47,11 @@ struct CPVT_WordProps { nHorzScale(other.nHorzScale) {} int32_t nFontIndex; - FX_FLOAT fFontSize; + float fFontSize; FX_COLORREF dwWordColor; CPDF_VariableText::ScriptType nScriptType; int32_t nWordStyle; - FX_FLOAT fCharSpace; + float fCharSpace; int32_t nHorzScale; }; |