summaryrefslogtreecommitdiff
path: root/src/plot.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-01-11 23:39:54 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-01-11 23:39:54 +0000
commita3097232844a20ea918d63722dbe6a7c71493bab (patch)
tree484422f361244027b1b4bc7f402bf232513dda54 /src/plot.c
parentda9f17aa78b7b41424a546a2cf8b2a785f9a030f (diff)
downloadlibnsfb-a3097232844a20ea918d63722dbe6a7c71493bab.tar.gz
libnsfb-a3097232844a20ea918d63722dbe6a7c71493bab.tar.bz2
simplify internal headers
svn path=/trunk/libnsfb/; revision=9801
Diffstat (limited to 'src/plot.c')
-rw-r--r--src/plot.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plot.c b/src/plot.c
index 90404cc..4de25c9 100644
--- a/src/plot.c
+++ b/src/plot.c
@@ -4,8 +4,9 @@
#include "libnsfb.h"
#include "libnsfb_plot.h"
+
#include "nsfb.h"
-#include "nsfb_plot.h"
+#include "plot.h"
/** Sets a clip rectangle for subsequent plots.
*
@@ -161,3 +162,8 @@ bool nsfb_plot_quadratic_bezier(nsfb_t *nsfb, nsfb_bbox_t *curve, nsfb_point_t *
{
return nsfb->plotter_fns->quadratic(nsfb, curve, ctrla, c);
}
+
+bool nsfb_plot_path(nsfb_t *nsfb, int pathc, nsfb_plot_pathop_t *pathop, nsfb_plot_pen_t *pen)
+{
+ return nsfb->plotter_fns->path(nsfb, pathc, pathop, pen);
+}