summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpvt_wordprops.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-14 14:43:42 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-14 19:05:58 +0000
commit05df075154a832fcb476e1dfcfb865722d0ea898 (patch)
treeb8b771b62adae74d5d5ee561db75d10de3a848bf /core/fpdfdoc/cpvt_wordprops.h
parent6b94f01d1c8ad386d497428c7397b1a99614aeba (diff)
downloadpdfium-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.h8
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;
};