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 /third_party/agg23/agg_conv_stroke.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 'third_party/agg23/agg_conv_stroke.h')
-rw-r--r-- | third_party/agg23/agg_conv_stroke.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/third_party/agg23/agg_conv_stroke.h b/third_party/agg23/agg_conv_stroke.h index 5a36bd73bb..82268ddec6 100644 --- a/third_party/agg23/agg_conv_stroke.h +++ b/third_party/agg23/agg_conv_stroke.h @@ -57,47 +57,47 @@ struct conv_stroke : { return base_type::generator().inner_join(); } - void width(FX_FLOAT w) + void width(float w) { base_type::generator().width(w); } - void miter_limit(FX_FLOAT ml) + void miter_limit(float ml) { base_type::generator().miter_limit(ml); } - void miter_limit_theta(FX_FLOAT t) + void miter_limit_theta(float t) { base_type::generator().miter_limit_theta(t); } - void inner_miter_limit(FX_FLOAT ml) + void inner_miter_limit(float ml) { base_type::generator().inner_miter_limit(ml); } - void approximation_scale(FX_FLOAT as) + void approximation_scale(float as) { base_type::generator().approximation_scale(as); } - FX_FLOAT width() const + float width() const { return base_type::generator().width(); } - FX_FLOAT miter_limit() const + float miter_limit() const { return base_type::generator().miter_limit(); } - FX_FLOAT inner_miter_limit() const + float inner_miter_limit() const { return base_type::generator().inner_miter_limit(); } - FX_FLOAT approximation_scale() const + float approximation_scale() const { return base_type::generator().approximation_scale(); } - void shorten(FX_FLOAT s) + void shorten(float s) { base_type::generator().shorten(s); } - FX_FLOAT shorten() const + float shorten() const { return base_type::generator().shorten(); } |