From 9125ffa7d8b61d5b534a8a44bfae7e6dcfe47199 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Tue, 11 Dec 2007 02:48:04 +0000 Subject: Fix warnings and remove some logging. svn path=/trunk/netsurf/; revision=3664 --- riscos/plotters.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'riscos') diff --git a/riscos/plotters.c b/riscos/plotters.c index 35314e4e2..36518b77b 100644 --- a/riscos/plotters.c +++ b/riscos/plotters.c @@ -245,7 +245,6 @@ bool ro_plot_path(float *p, unsigned int n, colour fill, float width, return false; } - LOG(("converting path")); for (i = 0; i < n; ) { if (p[i] == PLOTTER_PATH_MOVE) { path[i] = draw_MOVE_TO; @@ -277,7 +276,6 @@ bool ro_plot_path(float *p, unsigned int n, colour fill, float width, path[i] = draw_END_PATH; path[i + 1] = 0; - LOG(("converting matrix")); trfm.entries[0][0] = transform[0] * 0x10000; trfm.entries[0][1] = transform[1] * 0x10000; trfm.entries[1][0] = transform[2] * 0x10000; @@ -285,8 +283,6 @@ bool ro_plot_path(float *p, unsigned int n, colour fill, float width, trfm.entries[2][0] = (ro_plot_origin_x + transform[4] * 2) * 256; trfm.entries[2][1] = (ro_plot_origin_y - transform[5] * 2) * 256; - LOG(("plotting")); - if (fill != TRANSPARENT) { error = xcolourtrans_set_gcol(fill << 8, 0, os_ACTION_OVERWRITE, 0, 0); @@ -296,7 +292,7 @@ bool ro_plot_path(float *p, unsigned int n, colour fill, float width, return false; } - error = xdraw_fill(path, 0, &trfm, 0); + error = xdraw_fill((draw_path *) path, 0, &trfm, 0); if (error) { LOG(("xdraw_stroke: 0x%x: %s", error->errnum, error->errmess)); @@ -313,8 +309,8 @@ bool ro_plot_path(float *p, unsigned int n, colour fill, float width, return false; } - error = xdraw_stroke(path, 0, &trfm, 0, width * 2 * 256, - &line_style, 0); + error = xdraw_stroke((draw_path *) path, 0, &trfm, 0, + width * 2 * 256, &line_style, 0); if (error) { LOG(("xdraw_stroke: 0x%x: %s", error->errnum, error->errmess)); -- cgit v1.2.3