From 94e7b44ebc1710eed0f870428ddb5bfcd85858fa Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 14 Feb 2011 22:05:39 +0000 Subject: Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct. svn path=/trunk/netsurf/; revision=11683 --- riscos/print.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'riscos/print.c') diff --git a/riscos/print.c b/riscos/print.c index 575990f27..1a66e7e12 100644 --- a/riscos/print.c +++ b/riscos/print.c @@ -103,8 +103,7 @@ static const char *print_declare_fonts(hlcache_handle *h); static bool print_fonts_plot_rectangle(int x0, int y0, int x1, int y1, const plot_style_t *style); static bool print_fonts_plot_line(int x0, int y0, int x1, int y1, const plot_style_t *style); static bool print_fonts_plot_polygon(const int *p, unsigned int n, const plot_style_t *style); -static bool print_fonts_plot_clip(int clip_x0, int clip_y0, - int clip_x1, int clip_y1); +static bool print_fonts_plot_clip(const struct rect *clip); static bool print_fonts_plot_text(int x, int y, const char *text, size_t length, const plot_font_style_t *fstyle); static bool print_fonts_plot_disc(int x, int y, int radius, const plot_style_t *style); @@ -872,8 +871,7 @@ bool print_fonts_plot_polygon(const int *p, unsigned int n, const plot_style_t * } -bool print_fonts_plot_clip(int clip_x0, int clip_y0, - int clip_x1, int clip_y1) +bool print_fonts_plot_clip(const struct rect *clip) { return true; } -- cgit v1.2.3