From a0e0d23c2df487d48ff12f7abdc35e05b1861dd1 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 9 Mar 2011 19:00:31 +0000 Subject: Remove nsws_plot_set_scale(), nsws_plot_get_scale() and nsws_plot_scale. svn path=/trunk/netsurf/; revision=11945 --- windows/plot.c | 11 ----------- windows/plot.h | 3 --- 2 files changed, 14 deletions(-) (limited to 'windows') diff --git a/windows/plot.c b/windows/plot.c index 2e21ae1fd..8e242f2f4 100644 --- a/windows/plot.c +++ b/windows/plot.c @@ -48,7 +48,6 @@ HDC plot_hdc; -static float nsws_plot_scale = 1.0; static RECT plot_clip; /* currently set clipping rectangle */ @@ -877,16 +876,6 @@ static bool path(const float *p, unsigned int n, colour fill, float width, return true; } -void nsws_plot_set_scale(float s) -{ - nsws_plot_scale = s; -} - -float nsws_plot_get_scale(void) -{ - return nsws_plot_scale; -} - struct plotter_table plot = { .rectangle = rectangle, .line = line, diff --git a/windows/plot.h b/windows/plot.h index 5e6eac16c..dc0ac0386 100644 --- a/windows/plot.h +++ b/windows/plot.h @@ -21,6 +21,3 @@ extern HDC plot_hdc; -void nsws_plot_set_scale(float s); -float nsws_plot_get_scale(void); - -- cgit v1.2.3