diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2010-01-21 23:11:08 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2010-01-21 23:11:08 +0000 |
commit | 2438d7075abca8f6bfc6f580598e38555ebc5d41 (patch) | |
tree | 70e168ba158f4a8039e88c88e669b04d863b117f /src/plot/api.c | |
parent | 131b6c4a00575c9e996a9ae60c90a9647fb5ef75 (diff) | |
download | libnsfb-2438d7075abca8f6bfc6f580598e38555ebc5d41.tar.gz libnsfb-2438d7075abca8f6bfc6f580598e38555ebc5d41.tar.bz2 |
add beginnings of path plotting
svn path=/trunk/libnsfb/; revision=9854
Diffstat (limited to 'src/plot/api.c')
-rw-r--r-- | src/plot/api.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plot/api.c b/src/plot/api.c index 4de25c9..a3f212d 100644 --- a/src/plot/api.c +++ b/src/plot/api.c @@ -79,6 +79,11 @@ bool nsfb_plot_lines(nsfb_t *nsfb, int linec, nsfb_bbox_t *line, nsfb_plot_pen_t return nsfb->plotter_fns->line(nsfb, linec, line, pen); } +bool nsfb_plot_polylines(nsfb_t *nsfb, int pointc, nsfb_point_t *points, nsfb_plot_pen_t *pen) +{ + return nsfb->plotter_fns->polylines(nsfb, pointc, points, pen); +} + /** Plots a filled polygon. * * Plots a filled polygon with straight lines between points. The lines around |