From 05df075154a832fcb476e1dfcfb865722d0ea898 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 14 Mar 2017 14:43:42 -0400 Subject: Replace FX_FLOAT with underlying float type. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I158b7d80b0ec28b742a9f2d5a96f3dde7fb3ab56 Reviewed-on: https://pdfium-review.googlesource.com/3031 Commit-Queue: dsinclair Reviewed-by: Tom Sepez Reviewed-by: Nicolás Peña --- third_party/agg23/agg_conv_adaptor_vcgen.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'third_party/agg23/agg_conv_adaptor_vcgen.h') 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&); const conv_adaptor_vcgen& @@ -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 -unsigned conv_adaptor_vcgen::vertex(FX_FLOAT* x, FX_FLOAT* y) +unsigned conv_adaptor_vcgen::vertex(float* x, float* y) { unsigned cmd = path_cmd_stop; bool done = false; -- cgit v1.2.3