summaryrefslogtreecommitdiff
path: root/include/libnsfb_plot.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-01-21 23:11:08 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-01-21 23:11:08 +0000
commit2438d7075abca8f6bfc6f580598e38555ebc5d41 (patch)
tree70e168ba158f4a8039e88c88e669b04d863b117f /include/libnsfb_plot.h
parent131b6c4a00575c9e996a9ae60c90a9647fb5ef75 (diff)
downloadlibnsfb-2438d7075abca8f6bfc6f580598e38555ebc5d41.tar.gz
libnsfb-2438d7075abca8f6bfc6f580598e38555ebc5d41.tar.bz2
add beginnings of path plotting
svn path=/trunk/libnsfb/; revision=9854
Diffstat (limited to 'include/libnsfb_plot.h')
-rw-r--r--include/libnsfb_plot.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libnsfb_plot.h b/include/libnsfb_plot.h
index af1768e..e0ee7de 100644
--- a/include/libnsfb_plot.h
+++ b/include/libnsfb_plot.h
@@ -101,6 +101,12 @@ bool nsfb_plot_line(nsfb_t *nsfb, nsfb_bbox_t *line, nsfb_plot_pen_t *pen);
*/
bool nsfb_plot_lines(nsfb_t *nsfb, int linec, nsfb_bbox_t *line, nsfb_plot_pen_t *pen);
+/** Plots a number of connected lines.
+ *
+ * Draw a series of connected lines.
+ */
+bool nsfb_plot_polylines(nsfb_t *nsfb, int pointc, nsfb_point_t *points, nsfb_plot_pen_t *pen);
+
/** Plots a filled polygon.
*
* Plots a filled polygon with straight lines between points. The lines around