diff options
author | James Bursa <james@netsurf-browser.org> | 2007-11-29 05:50:21 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2007-11-29 05:50:21 +0000 |
commit | f386520ff275b34a64cc4068a690f749eae90f72 (patch) | |
tree | 517dd500bf189c1fd33341510e1dc5489c76120d /riscos/save_draw.c | |
parent | ac084adfb2e1811fb19d66062b0e5cf5fb24382f (diff) | |
download | netsurf-f386520ff275b34a64cc4068a690f749eae90f72.tar.gz netsurf-f386520ff275b34a64cc4068a690f749eae90f72.tar.bz2 |
Add empty path plotters to stop crashes.
svn path=/trunk/netsurf/; revision=3653
Diffstat (limited to 'riscos/save_draw.c')
-rw-r--r-- | riscos/save_draw.c | 12 |
1 files changed, 11 insertions, 1 deletions
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; |