From f386520ff275b34a64cc4068a690f749eae90f72 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Thu, 29 Nov 2007 05:50:21 +0000 Subject: Add empty path plotters to stop crashes. svn path=/trunk/netsurf/; revision=3653 --- riscos/save_draw.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'riscos/save_draw.c') diff --git a/riscos/save_draw.c b/riscos/save_draw.c index 91443d754..5f86764a3 100644 --- a/riscos/save_draw.c +++ b/riscos/save_draw.c @@ -42,6 +42,8 @@ static bool ro_save_draw_rectangle(int x0, int y0, int width, int height, static bool ro_save_draw_line(int x0, int y0, int x1, int y1, int width, colour c, bool dotted, bool dashed); static bool ro_save_draw_polygon(int *p, unsigned int n, colour fill); +static bool ro_save_draw_path(float *p, unsigned int n, colour fill, + float width, colour c, float *transform); static bool ro_save_draw_fill(int x0, int y0, int x1, int y1, colour c); static bool ro_save_draw_clip(int clip_x0, int clip_y0, int clip_x1, int clip_y1); @@ -75,7 +77,8 @@ const struct plotter_table ro_save_draw_plotters = { ro_save_draw_bitmap_tile, ro_save_draw_group_start, ro_save_draw_group_end, - NULL + NULL, + ro_save_draw_path, }; struct pencil_diagram *ro_save_draw_diagram; @@ -220,6 +223,13 @@ bool ro_save_draw_polygon(int *p, unsigned int n, colour fill) } +bool ro_save_draw_path(float *p, unsigned int n, colour fill, + float width, colour c, float *transform) +{ + return true; +} + + bool ro_save_draw_fill(int x0, int y0, int x1, int y1, colour c) { pencil_code code; -- cgit v1.2.3