diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2010-01-06 22:26:55 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2010-01-06 22:26:55 +0000 |
commit | fd3c7753435658a6aeebf1b68d18178a6c7cf57d (patch) | |
tree | f17b620b6f7831476cae8d4f97ca8c2f9cbaa7b5 /include/libnsfb_plot.h | |
parent | dfc3faf3fdf331e806cf43971c2251e65111f065 (diff) | |
download | libnsfb-fd3c7753435658a6aeebf1b68d18178a6c7cf57d.tar.gz libnsfb-fd3c7753435658a6aeebf1b68d18178a6c7cf57d.tar.bz2 |
add bezier curve plotters
svn path=/trunk/libnsfb/; revision=9794
Diffstat (limited to 'include/libnsfb_plot.h')
-rw-r--r-- | include/libnsfb_plot.h | 4 |
1 files changed, 4 insertions, 0 deletions
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. |