summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-03-09 19:00:31 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-03-09 19:00:31 +0000
commita0e0d23c2df487d48ff12f7abdc35e05b1861dd1 (patch)
tree9292be9c6b37880c8ae6cef1d0d73ecc1a2fc908
parente8fe0e64fdf98eb531b2dcdd23a70f2b9af8efc8 (diff)
downloadnetsurf-a0e0d23c2df487d48ff12f7abdc35e05b1861dd1.tar.gz
netsurf-a0e0d23c2df487d48ff12f7abdc35e05b1861dd1.tar.bz2
Remove nsws_plot_set_scale(), nsws_plot_get_scale() and nsws_plot_scale.
svn path=/trunk/netsurf/; revision=11945
-rw-r--r--windows/plot.c11
-rw-r--r--windows/plot.h3
2 files changed, 0 insertions, 14 deletions
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);
-