diff options
author | Rob Kendrick <rjek@netsurf-browser.org> | 2007-08-11 21:41:17 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@netsurf-browser.org> | 2007-08-11 21:41:17 +0000 |
commit | 368edb8a947d238b0234c26b19643b07de5ac6c7 (patch) | |
tree | 05c08def1651b94243650df0917ed97c796e5883 /gtk/gtk_plotters.c | |
parent | 4e6f8d33471f29be9098f8e94347e32279132baa (diff) | |
download | netsurf-368edb8a947d238b0234c26b19643b07de5ac6c7.tar.gz netsurf-368edb8a947d238b0234c26b19643b07de5ac6c7.tar.bz2 |
Add GTK stub path function
svn path=/trunk/netsurf/; revision=3497
Diffstat (limited to 'gtk/gtk_plotters.c')
-rw-r--r-- | gtk/gtk_plotters.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gtk/gtk_plotters.c b/gtk/gtk_plotters.c index e1693f6a9..9f40f3694 100644 --- a/gtk/gtk_plotters.c +++ b/gtk/gtk_plotters.c @@ -52,6 +52,8 @@ static bool nsgtk_plot_rectangle(int x0, int y0, int width, int height, static bool nsgtk_plot_line(int x0, int y0, int x1, int y1, int width, colour c, bool dotted, bool dashed); static bool nsgtk_plot_polygon(int *p, unsigned int n, colour fill); +static bool nsgtk_plot_path(float *p, unsigned int n, colour fill, float width, + colour c, float *transform); static bool nsgtk_plot_fill(int x0, int y0, int x1, int y1, colour c); static bool nsgtk_plot_clip(int clip_x0, int clip_y0, int clip_x1, int clip_y1); @@ -88,7 +90,8 @@ const struct plotter_table nsgtk_plotters = { nsgtk_plot_bitmap_tile, NULL, NULL, - NULL + NULL, + nsgtk_plot_path }; @@ -374,6 +377,17 @@ bool nsgtk_plot_bitmap_tile(int x, int y, int width, int height, return true; } +bool nsgtk_plot_path(float *p, unsigned int n, colour fill, float width, + colour c, float *transform) +{ + /* Only the internal SVG renderer uses this plot call currently, + * and the GTK version uses librsvg. Thus, we ignore this complexity, + * and just return true obliviously. + */ + + return true; +} + void nsgtk_set_colour(colour c) { int r, g, b; |