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_adaptor_vcgen.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_adaptor_vcgen.h')
-rw-r--r-- | third_party/agg23/agg_conv_adaptor_vcgen.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/third_party/agg23/agg_conv_adaptor_vcgen.h b/third_party/agg23/agg_conv_adaptor_vcgen.h index 0d8d6ff99e..be4dc2d609 100644 --- a/third_party/agg23/agg_conv_adaptor_vcgen.h +++ b/third_party/agg23/agg_conv_adaptor_vcgen.h @@ -20,10 +20,10 @@ namespace agg { struct null_markers { void remove_all() {} - void add_vertex(FX_FLOAT, FX_FLOAT, unsigned) {} + void add_vertex(float, float, unsigned) {} void prepare_src() {} void rewind(unsigned) {} - unsigned vertex(FX_FLOAT*, FX_FLOAT*) + unsigned vertex(float*, float*) { return path_cmd_stop; } @@ -67,7 +67,7 @@ public: m_source->rewind(path_id); m_status = initial; } - unsigned vertex(FX_FLOAT* x, FX_FLOAT* y); + unsigned vertex(float* x, float* y); private: conv_adaptor_vcgen(const conv_adaptor_vcgen<VertexSource, Generator, Markers>&); const conv_adaptor_vcgen<VertexSource, Generator, Markers>& @@ -77,11 +77,11 @@ private: Markers m_markers; status m_status; unsigned m_last_cmd; - FX_FLOAT m_start_x; - FX_FLOAT m_start_y; + float m_start_x; + float m_start_y; }; template<class VertexSource, class Generator, class Markers> -unsigned conv_adaptor_vcgen<VertexSource, Generator, Markers>::vertex(FX_FLOAT* x, FX_FLOAT* y) +unsigned conv_adaptor_vcgen<VertexSource, Generator, Markers>::vertex(float* x, float* y) { unsigned cmd = path_cmd_stop; bool done = false; |