From da9f17aa78b7b41424a546a2cf8b2a785f9a030f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 9 Jan 2010 00:11:35 +0000 Subject: strip legacy plotter interface cleanup line plotting interface move plotter interface structs to apropriate header svn path=/trunk/libnsfb/; revision=9798 --- include/nsfb_plot.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/nsfb_plot.h') 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 -- cgit v1.2.3