summaryrefslogtreecommitdiff
path: root/include/nsfb_plot.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-01-09 00:11:35 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-01-09 00:11:35 +0000
commitda9f17aa78b7b41424a546a2cf8b2a785f9a030f (patch)
tree6d82a9d79ee3618023940ef3052c6e4fc13911eb /include/nsfb_plot.h
parentfd3c7753435658a6aeebf1b68d18178a6c7cf57d (diff)
downloadlibnsfb-da9f17aa78b7b41424a546a2cf8b2a785f9a030f.tar.gz
libnsfb-da9f17aa78b7b41424a546a2cf8b2a785f9a030f.tar.bz2
strip legacy plotter interface
cleanup line plotting interface move plotter interface structs to apropriate header svn path=/trunk/libnsfb/; revision=9798
Diffstat (limited to 'include/nsfb_plot.h')
-rw-r--r--include/nsfb_plot.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/nsfb_plot.h b/include/nsfb_plot.h
index 52af7cd..8b39cc5 100644
--- a/include/nsfb_plot.h
+++ b/include/nsfb_plot.h
@@ -10,10 +10,9 @@ typedef bool (nsfb_plotfn_clg_t)(nsfb_t *nsfb, nsfb_colour_t c);
*/
typedef bool (nsfb_plotfn_rectangle_t)(nsfb_t *nsfb, nsfb_bbox_t *rect, int line_width, nsfb_colour_t c, bool dotted, bool dashed);
-/** Plots a line from (x0,y0) to (x1,y1). Coordinates are at
- * centre of line width/thickness.
+/** Plots a line using a given pen.
*/
-typedef bool (nsfb_plotfn_line_t)(nsfb_t *nsfb, nsfb_bbox_t *line, int line_width, nsfb_colour_t c, bool dotted, bool dashed);
+typedef bool (nsfb_plotfn_line_t)(nsfb_t *nsfb, int linec, nsfb_bbox_t *line, nsfb_plot_pen_t *pen);
/** Plots a filled polygon with straight lines between points.
* The lines around the edge of the ploygon are not plotted. The