summaryrefslogtreecommitdiff
path: root/core/include/fxcrt/fx_system.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-12 15:58:50 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-12 15:58:50 -0800
commita30b7e814a8bee2af6453009501614a24211e16f (patch)
tree4114b6b62cdd59afe43b92f52a9d7e527bf7e532 /core/include/fxcrt/fx_system.h
parent45fe3c2eefd57b48d7307f9efe13d8019c96e489 (diff)
downloadpdfium-a30b7e814a8bee2af6453009501614a24211e16f.tar.xz
One less PI.
One less Bezier. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1692413002 .
Diffstat (limited to 'core/include/fxcrt/fx_system.h')
-rw-r--r--core/include/fxcrt/fx_system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/include/fxcrt/fx_system.h b/core/include/fxcrt/fx_system.h
index 02efbe10fc..5ab7f723ad 100644
--- a/core/include/fxcrt/fx_system.h
+++ b/core/include/fxcrt/fx_system.h
@@ -110,7 +110,9 @@ static_assert(FALSE == false, "false_needs_to_be_false");
#endif
#endif
+// M_PI not universally present on all platforms.
#define FX_PI 3.1415926535897932384626433832795f
+#define FX_BEZIER 0.5522847498308f
// NOTE: prevent use of the return value from snprintf() since some platforms
// have different return values (e.g. windows _vsnprintf()), and provide