From fd3c7753435658a6aeebf1b68d18178a6c7cf57d Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 6 Jan 2010 22:26:55 +0000 Subject: add bezier curve plotters svn path=/trunk/libnsfb/; revision=9794 --- include/libnsfb_plot.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/libnsfb_plot.h') diff --git a/include/libnsfb_plot.h b/include/libnsfb_plot.h index 45aad28..1d420b0 100644 --- a/include/libnsfb_plot.h +++ b/include/libnsfb_plot.h @@ -78,6 +78,10 @@ bool nsfb_plot_arc(nsfb_t *nsfb, int x, int y, int radius, int angle1, int angle */ bool nsfb_plot_point(nsfb_t *nsfb, int x, int y, nsfb_colour_t c); +bool nsfb_plot_cubic_bezier(nsfb_t *nsfb, nsfb_bbox_t *curve, nsfb_point_t *ctrla, nsfb_point_t *ctrlb, nsfb_colour_t c); + +bool nsfb_plot_quadratic_bezier(nsfb_t *nsfb, nsfb_bbox_t *curve, nsfb_point_t *ctrla, nsfb_colour_t cl); + /** copy an area of screen * * Copy an area of the display. -- cgit v1.2.3