summaryrefslogtreecommitdiff
path: root/include/plot.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-01-22 23:20:06 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-01-22 23:20:06 +0000
commitf6c7cb873e7998ff0641131bba57c0f83e53b938 (patch)
treeab2d3fd958ab4057bc3541450dbb101d87607583 /include/plot.h
parentec0a1adadf3c64957c8f7d529c6bdbf3fa037dd8 (diff)
downloadlibnsfb-f6c7cb873e7998ff0641131bba57c0f83e53b938.tar.gz
libnsfb-f6c7cb873e7998ff0641131bba57c0f83e53b938.tar.bz2
add basic (but working) path support
svn path=/trunk/libnsfb/; revision=9865
Diffstat (limited to 'include/plot.h')
-rw-r--r--include/plot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plot.h b/include/plot.h
index a745eb4..38bed61 100644
--- a/include/plot.h
+++ b/include/plot.h
@@ -84,11 +84,11 @@ typedef bool (nsfb_plotfn_readrect_t)(nsfb_t *nsfb, nsfb_bbox_t *rect, nsfb_colo
/** Plot quadratic bezier spline
*/
-typedef bool (nsfb_plotfn_quadratic_bezier_t)(nsfb_t *nsfb, nsfb_bbox_t *curve, nsfb_point_t *ctrla, nsfb_colour_t c);
+typedef bool (nsfb_plotfn_quadratic_bezier_t)(nsfb_t *nsfb, nsfb_bbox_t *curve, nsfb_point_t *ctrla, nsfb_plot_pen_t *pen);
/** Plot cubic bezier spline
*/
-typedef bool (nsfb_plotfn_cubic_bezier_t)(nsfb_t *nsfb, nsfb_bbox_t *curve, nsfb_point_t *ctrla, nsfb_point_t *ctrlb, nsfb_colour_t c);
+typedef bool (nsfb_plotfn_cubic_bezier_t)(nsfb_t *nsfb, nsfb_bbox_t *curve, nsfb_point_t *ctrla, nsfb_point_t *ctrlb, nsfb_plot_pen_t *pen);
typedef bool (nsfb_plotfn_polylines_t)(nsfb_t *nsfb, int pointc, const nsfb_point_t *points, nsfb_plot_pen_t *pen);